We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Thumbnail images are not displaying using the image resizer plugin after server migration

Development and Programming

netlinkblueEE's avatar
netlinkblueEE
39 posts
16 years ago
netlinkblueEE's avatar netlinkblueEE

Hi,

In development stage i worked on the differnt server, in that iam using image resizer function to resize the image it will works fine to me. here is the code which iam using

{exp:imgsizer:size image="{custom_field_image}" width="79" height="120" alt="{title}"}

in server migration i copied all the files to the new server. the thumbnail images are not showing.

Iam not able to figure out the image disappear issue.can anyone help me to sort this issue.

Thanks.

       
netlinkblueEE's avatar
netlinkblueEE
39 posts
16 years ago
netlinkblueEE's avatar netlinkblueEE

any ideas ??

       
Chuck Norton's avatar
Chuck Norton
106 posts
16 years ago
Chuck Norton's avatar Chuck Norton

I’m having the exact same problem!

Maybe there is a setting somewhere for imagesizer that is NOT available to change from the system manager.

       
padstow's avatar
padstow
101 posts
16 years ago
padstow's avatar padstow

I’m also having problems with imagesizer and am wondering if it’s host related - I’m using the exact same version & code in my templates that I’ve used successfully on another website, but there is no output on my BlueHost web site I’m working on. If it’s host-related, can anyone point me in the right direction as to what I need to ask my host to look for?

       
JamieFletcher's avatar
JamieFletcher
5 posts
16 years ago
JamieFletcher's avatar JamieFletcher

If you’ve moved servers, have you checked File Upload paths are correct? Also, have you specified base_path or base_cache in your plugin tags? These are the gotchas I always slip up on.

       
padstow's avatar
padstow
101 posts
16 years ago
padstow's avatar padstow

In my case, I did not change hosts - I’m building a similar site on a different host, so all my installs are ‘fresh’, so to speak. I am not specifying a basepath or basecache in my template, just using the default.

Now, I am on an IP address while waiting to move the domain name over - would that break the plugin?

       
JamieFletcher's avatar
JamieFletcher
5 posts
16 years ago
JamieFletcher's avatar JamieFletcher

Can’t see why the IP address wouldn’t work. Maybe it’s a permissions issue on your server? Since you haven’t specified any basepaths or basecaches, the plugin by default will create a directory inside ‘images’ called ‘sized’. You may need to chmod this to 777.

       
padstow's avatar
padstow
101 posts
16 years ago
padstow's avatar padstow

Looks like whatever the problem is, it’s host-related - I moved everything back to GoDaddy (fun process) and imagesizer works just like it should. Maybe Bluehost doesn’t have the requirements on their server, or their temporary server- in this case, it’s easier for me to stay with GoDaddy for this client than work with Bluehost to resolve, but in case anyone else runs into this problem, you may need to contact Bluehost.

       
Zac G.'s avatar
Zac G.
268 posts
16 years ago
Zac G.'s avatar Zac G.

I am having this same problem and thinking that it might have something to do with being on an IP rather than domain.

Did you ever switch the DNS over and see if it was still broken? I am trying it on two installs, one in a subdirectory of a domain and the other of the IP/~user and the first works. The latter does not, but I’m gonna wait and see what happens when I switch the domain over.

       
padstow's avatar
padstow
101 posts
16 years ago
padstow's avatar padstow

I’ve just started on a new site with a temporary address at the same host that was giving me problems, and had the same problems with the imagesizer plugin. I turned on template debugging and found out that the base path was pointing to the wrong place - I made a change in the file upload settings, added justurl=”yes” and hardcoded the img src tag to put the right path in before the single image resizer tag and was able to make it work.

Turn on template debugging and look to see where imagesizer is trying to find the file - you may need to create the directories (and set 777 permissions) somewhere else.

I don’t know if this will help you or not, but this is generally what I’m using and it seems to work:

temporary/path/to/home/page/given/by/host{exp:imgsizer:size justurl=

Seems clunky, but I just need it to work so I can continue building the site! I’m hoping once the dns is pointed, I can simplify all the URLs as needed.

       
Zac G.'s avatar
Zac G.
268 posts
16 years ago
Zac G.'s avatar Zac G.

Good tip! That seems to do it!

I think that I might just ignore the lack of images since most of the site was built out locally and it was fine there. Plus, although that is an awesome solution, I don’t want to have to go back and switch all the code back. But this is helpful for testing.

Cheers mate

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.