close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Localhost - WORKS! Online DOESN'T!

Thread began 2/23/2011 1:12 am by jeff382039 | Last modified 2/23/2011 11:39 am by Jason Byrnes | 1302 views | 3 replies |

jeff382039

Localhost - WORKS! Online DOESN'T!

I have used the imageresizer locally and it works great.

Online however it does not.
I have done the following...
Ensured that the cache folder permissions are correct
Ensured that php is version 5.2
Ensured i have GD installed on the server
Ensured i have imagick installed.

In Firefox the image shows, but the original size, it does not resize to the specified dimensions (as it does locally)

In IE, the image doesn't even bother showing up - in fact it causes the browser to have a meltdown.

Live url here:
projectdetail.php?id=8 (**click on "Screen Shots" tab then on the thumbnail that looks like it's underwater, the other two were resized to fit before uploading)

Any ideas? My php info file is here:
info.php

The source for the page that displays the image is available for download here:
image.zip

and the live display page that should be resizing is here:
image.php?id=13

Thanks in advance.

Sign in to reply to this post

Jason ByrnesWebAssist

could be the size of the image is causing the GD library to exceed the servers memory limit.


add the following code at line 1 of your page to test:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
<?php
ini_set
("memory_limit","256M");
?>
Sign in to reply to this post

jeff382039

I figured out what the problem was, or i think i did. I reapplied it several times. The source was calling from the root originally (absolute refrencing)

<img src="/res/photo.jpg" width="780" height="600" style="border:1px solid #fff;" />

Removing the slash '/' seems to have fixed it. Weird, should work either way.

<img src="res/photo.jpg" width="780" height="600" style="border:1px solid #fff;" />

Sign in to reply to this post

Jason ByrnesWebAssist

glad to hear it is working.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...