stefanfoulis / django-image-filer Goto Github PK
View Code? Open in Web Editor NEWImage Management Application for django. For the most current version please check out django-filer.
License: MIT License
Image Management Application for django. For the most current version please check out django-filer.
License: MIT License
in directory_listing.html:
<script type="text/javascript" src="http://jqueryui.com/latest/jquery-1.3.2.js"></script> <script src="http://dev.jquery.com/view/tags/ui/latest/ui/effects.core.js"></script> <script src="http://dev.jquery.com/view/tags/ui/latest/ui/effects.highlight.js"></script>I just downloaded this application and tried to use it with django-cms
Somehow the images always were outputted as
In cms_plugins.py we have:
context.update({
'picture':instance,
In the image.html template we use the variable 'image_publication' wich is obviously not there..
Also in cms_plugins.py SOME classes have render_template = "cms/plugins/xxx.html" which is not existant and some classes have render_template = "image_filer/xxx.html" which works...
Could it be that this extension is totally messed up?
It can be usefull to create a setup.py and init.py file in the repository, to simplify the installation by eggs.
For example, image-filler can't be added simply to Buildout for easy project installation.
Thanks
allow the definition of coordinates of the the "important part" of the image. all subsequent automatic cropping will then try to keep that important part in view.
Hi. When I try to upload a flash file (myfile.swf) it attempts to upload it and then fails with an "upload failed" message in the clipboard.
Just wondering if this is expected behaviour. Ie, as the name suggests does Image_Filer only support image files? If so no problem, just curious. Thanks for the good work.
in row_image.html and directory_table.html
maybe with the clipboard...?
add a clean distinction between templates for the backend and for the frontend
<img {% if object.float %}class="{{ object.float }}" {% endif %}alt="{% if object.alt %}{{ object.alt }}{% endif %}" src="{% thumbnail object.image image_size %}" />
but
context.update({
'picture':instance,
'link':link,
'image_size': u'%sx%s' % (width, height),
'placeholder':placeholder
})
when i copied the kieser-training DB to local all the image file plugins produced exceptions because i don't have the live media files
(yui crop? jQuery?)
The template name for the plugin in django-cms admin is not valid.
The template picture.html is called instead of image.html.
So need to fix the template filename in fs, or in the code.
After an image is inserted into, clicking on Image from Image FIler for that image produces an error:
deleting an image will cascade delete anything using that image!
replace all hardcoded urls
should show the correct directory listing view instead
I have the weirdest bug that I've been chasing around for a couple of days now. Image-filer works on our servers but it doesn't work for me locally while developing. Python versions match and if I enable DEBUG on the server, it keeps working there. But not here.
What happens is this: when I upload a file I get the error "'NoneType' object has no attribute 'now'" in image_filer/models/init.py, line 244. Weird, since datetime gets imported fine. When I put "from datetime import datetime" right in front of that line, it works but fails at line 270 with something along the lines of "super needs a class, not None as first parameter".
Stepping through the code with pdb I notice that while in the save function, all references to earlier defined imports and classes are None! datetime is None, Image is None, everything outside of the function itself is None!
Stepping through the whole code, I notice that in all function of all classes in that init.py file all earlier imports and definitions are None - except for AbstractFile. Stepping through unicode() there, I can still access datetime, etc.
Any idea what's happening here?
Thanks,
Jonas
will likely be solved as a fork of this project (django-filer)
Traceback (most recent call last):
[17:03] superdmp:
File "/home/daniele/example/south/migration.py", line 247, in run_migrations
[17:03] superdmp:
runfunc(klass.orm)
[17:03] superdmp:
File "/home/daniele/modules/image_filer/migrations/0002_test.py", line 11, in forwards
[17:03] superdmp:
db.rename_field('image_file_clipboarditem.bucket_id', 'image_file_clipboarditem.clipboard_id',)
[17:03] superdmp:
AttributeError: 'DatabaseOperations' object has no attribute 'rename_field'
[17:03] superdmp:
! Error found during dry run of migration! Aborting.
How?
but it should be the directory view of the dir the image was in before
instead of providing admin urls a normal urls.py
An image appears to be in the system (and is visible within the image filer interface) but is published with an empty src attribute.
the currently used library for writing exif tags fails with pictures of some Camera models
allow uploading a new image to replace an existing.
a view that show all the occurrences where the image was used would be great.
Is this code still under development?
Or is there an more maintained DAM, digital asset management solution for django cms?
after selecting a new image (cms plugin) the thumbnail is not updated. use some javascript to load the newly selected one.
remove it or replace it by an link to "upload"
Hi,
I'm wondering if you've ever tested Image_Filer in conjunction with Grappelli? Reason I ask is that I installed Image_Filer and everything worked great. Then I installed Grappelli and noticed that a few interface things were broken. Namely the clipboard disappears so that you can't upload files any more. Ie, the markup for the clipboard is still there and it actually does work (I can see retrieving the thumbnails in firebug so they can go on teh clipboard) but you can't actually see the clipboard div anywhere on the screen.
Also the folder view looks a little wrong style wise.
Anyway if it hasn't been tested that's fine, I'm just wondering if perhaps there's something I can configure to make it work properly in conjunction with Grappelli.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.