I encounter a problem when cropping thumbnails.
I imported my G1 gallery and the 2 cropped thumbnails did not appear correctly (a gallery broken image is displayed).
I tried to regenerate those thumbnails with the cropping function ; although it says that the cropping was succesful, the thumbnail is a broken image each time I select anything smaller than the whole image.
I tried to modify the order of the toolkits, but it does not change anything.
FYI, importing cropped thumbnails used to word at least two months ago. I don't know if the problem is related to more recent versions of G2 or to a newer FC2 package.
Any idea ?
----
Gallery URL (optional):
Gallery version: latest CVS
Webserver (with version): Apache 2.x
Datatabase (with version): MySQL
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s): all
Operating system: Fedora FC2 (all updates applied)
Web browser/version: Firefox
G1 version (for migration bugs):
Posts: 7994
Can you verify that this is this bug ?
Posts: 37
I have exactly the same problem, and this is not related to ImageMagick - it also happens with the PNM toolkit.
Gallery version: latest CVS (03/20/2005)
Webserver (with version): Apache 2.0.52
Datatabase (with version): MySQL 4.0.24
PHP version (eg 4.2.1): 4.3.10
phpinfo URL (optional): http://fmail.ods.org/phpinfo.php
Graphics Toolkit(s): all
Operating system: Gentoo (most recent on x86 platform)
Web browser/version: Firefox 1.0.1 / IE 6.0
Posts: 378
bharat,
I removed my G2 files and database, synced my CVS installation, activated just the following modules : core (obviously), IM, image frame, comments, exif parser and migration...
...Cropped thumbs are once again broken.
I don't think this is related to the problem you refer to.
By the way, another unrelated problem : with this CVS image, I could not activate all modules during the installation : they were listed as activated but did not appear as. I tried to uninstall some of them and then reinstall one of them... I was greeted with a DB error !
Posts: 7994
Ok, this sounds like a different issue with cropped thumbnails. Would you please file it as a bug so that we can address it?
Regarding your activation issue, the only time I've ever seen that happen is in the case where you didn't completely empty out your g2data directory. Are you sure that you deleted it completely before your reinstall?
Posts: 37
I opened a bug report here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1180151&group_id=7130&atid=107130
The cause of the problem seems to be the translation. If the language is set to english it works, if it is set to German, Dutch, Italian, French, ... it does not work.
Posts: 8601
frederik.kunz, please PM me the url and a login to your G2 so I can try this out on your setup.. I can't reproduce the problem.
Posts: 378
mindless,
I just tried to change the default language from French to English US but it does not solve the situation.
Here are some URLs from pictures whose thumbnail is incorrect :
http://www.starway.org/g2/main.php?g2_view=core:ShowItem&g2_itemId=6596
http://www.starway.org/g2/main.php?g2_view=core:ShowItem&g2_itemId=7205
Posts: 8601
the issue frederik.kunz reported is fixed in current cvs/nightly snapshot.
Lapinoo, you can PM me a login to your G2 and put your G2 in buffered debug mode if you'd like me to take a look.
Posts: 8601
Lapinoo, here's the debug output from a crop attempt on your system:
I have no idea what this means. Maybe try netpbm or a different version of imagemagick.
Posts: 378
I tried NetPBM some time ago and it didn't work either. This time, it worked :
Posts: 378
ImageMagick is the default Fedora Package :
I don't know how many of us use Fedora, but it is likely going to be a recurrent problem.
Posts: 378
I did a few more research : it seams that ImageMagick 6.2.0.7 is the latest official release for FC2, FC3 and FC4.
Many Fedora users are going to run into it !
Posts: 32509
Lapinoo, your last netpbm dump had no error message, everything was alright.
and what should we do with the imagemagick information? yes, you have a convert and obviously it's version 6.2.0.7....great.
Posts: 378
valiant,
I just wanted to say that every vanilla Fedora (FC2, FC3 and FC4) system won't be able to crop thumbnails with their default ImageMagick package.
Since Fedora is probably one of the most common Linux distribution used to run G2, many users are going to run into this problem when they switch to G2.
So, either ImageMagick 6.2.0.7 is buggy and should be fixed if we notify IM developpers and/or Fedora mainainers, either G2 doesn't use "convert" as it should be.
Posts: 7994
I've made a fix for this. Basically, I prevented imagemagick from pipelining -crop and -geometry in the same convert call. It's out to mindless for review right now...
Posts: 8601
maybe someday someone who understands imagemagick's command line parameters will help us with our module.. i have no clue how these mysterious combinations of params do weird things.
Posts: 378
bharat, mindless,
Thanks a lot !
I'll wait a few days for my CVS copy of G2 to receive this patch and I'll let you know if the problem is still there ! :wink:
Posts: 378
It now works OK!
Posts: 7994
Hooray! Sadly it's now two calls to convert, so it's slower. But slow is faster than broken