Hi - I’m having a weird issue. If you go to:
http://nationalcapacd.org/index.php/site/press_room/
under the heading “newsletters” you will see what is supposed to be an image, but the path is invalid. If you attempt to view the image, the browser references a url of:
&h=100&w=90&zc=1
but if you click through to the article, the photo renders properly, and the url for the photo is generated as:
&w=250&h=250&zc=1
On both ee templates, the code used to generate this code is:
<a href="#">_/inc/timthumb/timthumb.php?src={press_photo}&h=100&w=90&zc=1_</a>
where {press_photo} contains something like this:
https://ellislab.com/asset/images/team-photo/train.JPG
The settings for file upload directory 1 are:
server path to upload directory: /home/ncapacd/public_html/images/uploads/ url of upload directory: http://nationalcapacd.org/images/uploads/
I have tried switching the upload directory to a relative path, omitting the “http://nationalcapacd.org”, reuploading the photo with a new name, clearing EE’s cache, clearing the cache files out of timthumb (the addon used to resize the uploaded image), all to no avail. Anybody have any ideas? Why would the same code generate two different results?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.