[SOLVED] Gallery is looking for ‘GIF’ instead of ‘JPG’
pulok
Joined: 2006-11-15
Posts: 15 |
![]() |
I have recently upgraded gallery to 2.3. I am getting a broken image icon in photo page. Later I found galley is looking for ‘gif’ file instead of ‘jpg’ file. To explain further for a specific photo: The ‘Download photo in original format’ URL display the photo as usual. But photo page is showing broken image as it is looking for GIF file with same name! Also the image size and full size is showing as 92x92! Any suggestion?
|
|
Posts: 27300
Does GD test OK?
Try another toolkit:
FAQ: I am having trouble configuring a graphics toolkit (ImageMagick, NetPBM or ffmpeg). Help?
How big are the files?
FAQ: Why can't I upload big files (over a megabyte or two)?
Does it work if you deactivate url rewrite?
could it be:
FAQ: Thumbnails / resized images don't appear but if i use www in front of my url it works. Full sized images are fine. How to fix?
Add a item via the form upload method, post results of the debug info.
Dave
Enable debug:
FAQ: How to set/use Gallery in debug mode?_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 15
Thanks a lot. Below is my feedback
a. I tried almost all suggestion including delete from g2_FactoryMap where g_implId = "Gd"; from G2 FAQ. It did not work.
b. My current hosting company supports only GD. So could not try any other toolkit.
c. Tried without url rewrite initially. It did not work. In fact url rewrite give me this clue.
d. Also noticed Toolkits = Thumbnail. Any idea how that can be fixed?
f. lib/support/index.php?gd shows details about gd and php info shows gd is enabled.
g. Debug & other output info after a new item add is uploaded as mentioned.
Any suggestion?
Posts: 27300
You can install another toolkit yourself ( it does not need to be a host install read up on our download page about our prebuilt netpbm files )
I am a bit concerned about "Toolkits = Thumbnail". Did you copy the info from site admin; System Maintenance? Seems a bit odd to me. How many items in your gallery?
mine looks like:
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 15
Thanks a lot.
a. I will try netpbm prebuilt.
b. Yes, above information & Toolkits = Thumbnail was direct copy from site admin-> System Maintenance.
c. Site is still in debug mode, if you like to check anything
d. Item count is below:
Posts: 15
I am completely lost. I installed netpbm and still it is looking for gif instead of jpg. My guess it is not related with toolkit. Something went wrong during upgrade or I have done something stupid. While using netpbm Maintenance ->System information shows Toolkits = Thumbnail! Below is the current output to avoid any confusion.
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.5 apache
Webserver = Apache
Database = mysqlt 5.0.51a-community, lock.system=flock
Toolkits = Thumbnail
Acceleration = none, none
Operating system = Linux gadolinium.secure-dns.net 2.6.27.2 #1 Wed Oct 22 13:12:14 MDT 2008 i686
Default theme = simplegreen
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Rows in GalleryAccessMap table = 1026
Rows in GalleryAccessSubscriberMap table = 3352
Rows in GalleryUser table = 658
Rows in GalleryItem table = 3342
Rows in GalleryAlbumItem table = 314
Rows in GalleryCacheMap table = 0
Posts: 27300
Gallery does not see any activated toolkits:
PM me (Write to author) you login info and I will have a look.
tell me the path where you placed the netpbm folder. Did you change permissions on the files once you pu them on the server?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 15
Too bad. I deleted 2.3 source about an hour back and now trying to restore 2.2.2 from backup sql and reusing the 2.3 g2data directory. This time everything is fine except full size image is not displaying
. I am still working on it.
I will try to upgrade it again 2.3 soon. I will PM you that issue is reproduced. Thanks for you help and interest to help.
Just wondering any idea about current issue?
Posts: 15
I tried again upgrading from 2.2.2 to 2.3. Still it is looking for 'GIF' instead of 'JPG'! While ‘Download photo in original format’ URL display the full photo as usual. Any suggestion how to fix it?
Posts: 15
I was somehow able to resolve it. I guess missing watermark created the whole issue. Probably at some point of time I clear cache from lib/support/index.php?cache which deleted the watermark_png (or may be somehow it was deleted) and gallery was still looking for it.
So I simply edit the root album and remove watermark recursively and it works. I also changed graphic toolkit from ImageMagick to NetPBM after upgrading. Now everything works as expected