jQuery Galleria and ImageGen Options
Simm
Posted: Wednesday, November 26, 2008 5:21:49 PM

Rank: Fanatic

Joined: 7/22/2006
Posts: 261
Location: Randers, Denmark
This is probably a generic ImageGen question rather than a Umbraco-question, but that is why it is here in the Misc. section ;)

See, I'm building a gallery based on Galleria - a cool jQuery plugin. It creates a gallery out of ordinary HTML List-tags (<LI>). I then use ImageGen to resize the big images that appear to a certain size when you click the thumbnails.

Galleria uses an anchor to display the big images (see below). Now the problem.. Everything works fine in browsers like IE7, FX3 and Safari 3, but older browsers like IE6 and Safari 2 does not understand the construct below - it will display "Hello world" which is ImageGen 2.0.1's default text.

<li><a href="/umbraco/ImageGen.ashx?image=/media/367/picture_9.jpg&amp;height=600&amp;width=600&amp;compression=95&amp;constrain=true"><img src="/media/219/picture_9_thumb.jpg"></a></li>

Do you have an idea why this is only a problem on older browsers?


Best Regards
Simon

Level 0 uncertified ;)
bootnumlock
Posted: Wednesday, November 26, 2008 8:15:42 PM

Rank: Fanatic

Joined: 10/9/2006
Posts: 460
Location: batavia, IL
@simon, did you try my gallery package? does the same thing and uses lightbox? check out http://packages.maliciousthinktank.com and let me know... i may be able to help with the other issue if you still need help... let me know.

bootnumlock - aka bob baty-barr
My Packages Site: http://packages.maliciousthinktank.com
Business Blog: http://www.maliciousthinktank.com/blog
Personal site: http://www.baty-barr.com
Level 1 Certified!
drobar
Posted: Wednesday, November 26, 2008 8:28:31 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
I've used lightbox and thickbox without problems in all browsers so perhaps there's something odd about the Galleria plugin for the older browers?

Bob's package is fantastic, highly recommended.

If you do want to continue with Galleria, check to see if the url works properly in the older browsers by typing it directly into the url bar. In your example, add /umbraco/ImageGen.ashx?image=/media/367/picture_9.jpg&amp;height=600&amp;width=600&amp;compression=95&amp;constrain=true to the domain for your site. It should bring up the resized image.

The use of &amp; instead of a simple & might be problematic for very old browsers but I've never seen a problem in practice. If the direct url doesn't work, change the &amp; tags to & in the url and see if that works.

Let us know what you find out.

cheers,
doug.

MVP 2007-2009 - Percipient Studios
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.