dgiannakop / smart-lencioni-image-resizer

Automatically exported from code.google.com/p/smart-lencioni-image-resizer
GNU General Public License v3.0
0 stars 0 forks source link

cropped images don't show on localhost #43

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Installed SLIR as instructed, everything works well on live server
2. When using SLIR on development version of our site on my localhost, I don't 
get cropped images, only markers, alt text and title. links to full size images 
still work though...
3.

What is the expected output? What do you see instead?
Instead of the cropped image i get only an image marker...

What version of the product are you using? On what operating system?
It's SLIR 2.0b4, but I had the same issue with previous versions. Localhost is 
on Windows XP.

Please provide any additional information below.

I've been using SLIR on our website for more than a year, works like a charm. 
However, when using it in development on localhost, I don't get cropped images. 
It's a problem for me, because galleries are an essential part of design and 
can't afford to develop design on live server (where it all works fine). I 
remember there have been reports of this problem on the shifting pixels blog, 
however I couldn't fix this problem using that info. I'm not a PFP programmer, 
unfortunately:-( If I remember correctly it had something to do with SLIR 
pointing to the SERVER.ROOT directory, but can't tell more. Would you be so 
kind and tell me what to fix? I am sorry if this has been covered elsewhere, 
but I couldn't find a post with the same issue...

Thanks a lot,
Izak

Original issue reported on code.google.com by izid...@gmail.com on 12 Jun 2011 at 2:50

GoogleCodeExporter commented 8 years ago
I am having the same issue here on localhost. My project is setup as 
localhost/website Not sure what the setup needs to be in order for it to work. 
I tried changing the self::$documentRoot to current directory but that didn't 
work either. When i put in the image src url (<img 
src="/slir/w100-h80-c1:2/http://localhost/website/wp-content/uploads/pic-4.jpg) 
in the browser it works fine and the image is generated but when using it in 
the html/php template it does not generate an image. Any help would be 
appreciated. Thanks a lot. This script is brilliant.

Original comment by anupamai...@gmail.com on 15 Jun 2011 at 4:19

GoogleCodeExporter commented 8 years ago
I've got the same problem. Works fine when I upload it to my web host, but in 
development, using my localhost, I don't get the cropped images.

Original comment by lee.bu...@gmail.com on 12 Oct 2011 at 5:02

GoogleCodeExporter commented 8 years ago
It might be having a problem with the colon in the crop URL (see Issue 44). Try 
checking out the latest from the repository and using a period instead of a 
colon for your crop ratio (e.g. /slir/w100-c1.1/path/to/image.jpg).

Original comment by joe.lencioni on 12 Oct 2011 at 5:08

GoogleCodeExporter commented 8 years ago
Thanks! That worked

Original comment by lee.bu...@gmail.com on 12 Oct 2011 at 5:17

GoogleCodeExporter commented 8 years ago
Perfect! Now it works like a charm. Thank you. Best regards, Izido

Original comment by izak.pod...@gmail.com on 30 Jan 2012 at 10:49

GoogleCodeExporter commented 8 years ago
Thanks. That worked for me.

Original comment by l...@magrana.net on 26 Mar 2012 at 8:04