I’m writing a gallery application that pulls images from an rss feed, so editing the images directly isn’t an option.
Unfortunately some of the galleries are quite large because the files were uploaded as a large scale.
Is there a way to make sure when the images are loaded to have them load at a reasonable size with javascript/jquery?
Thanks for your help as always!
Oh also- if im linking these images directly from the rss to the site they originated from, say- a google rss feed, can that land me in any trouble with them loading a bunch of images off their site?
With just javascript / jquery, no.
Assuming that storing the images on your server isn’t an option, you would have to use a server side script like php to load the image on your server, scale it down and deliver that to the browser.
So your client side script would be something like
As to the legality of linking directly, its a legal gray area. If you try to state that the images are yours, then yes its illegal, however, clearly showing where the images came from giving all necessarily credit, that’s considered ok especially if you’re not making money from it.