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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error with Image Resizer

Thread began 3/04/2017 3:23 pm by Daryl | Last modified 3/07/2017 6:16 pm by Ray Borduin | 43 views | 7 replies |

DarylBeta Tester

Error with Image Resizer

I have had a site running for quite a few years with no problems other than when php versions have been changed.

Tonight I had an issue where googleapis have stopped jquery 1.8.2 being used and as such have had to link directly to the jquery site version in order to allow images to be uploaded.

I have now noticed that when an image is uploaded I get the following error with image resizer

Notice:
: Use of undefined constant resize_smaller - assumed 'resize_smaller' in
/home/nikisms/public_html/webassist/caching/CachedResize_Image.php
on line 164

Any ideas?

Sign in to reply to this post

Ray BorduinWebAssist

Please attach a copy of the file mentioned in the error and I'll take a look.

Sign in to reply to this post

DarylBeta Tester

I have attached the file requested, thanks Ray

Attached Files
index.php.zip
Sign in to reply to this post

Ray BorduinWebAssist

Can I see your page: CachedResize_Image.php that has the error? I'll take a look and see if I can spot the problem on the line mentioned.

Sign in to reply to this post

DarylBeta Tester

file attached

Attached Files
CachedResize_Image.php.zip
Sign in to reply to this post

Ray BorduinWebAssist

On line 164 replace:

$this.resize_smaller

with:

$this->resize_smaller

It appears to be a typo in that file

We fixed that issue a long time ago, so you may want to re-install the latest version.

Sign in to reply to this post

DarylBeta Tester

What is the best way to do that Ray?

I have the latest versions of all of the extensions, but this was built before them.

Sign in to reply to this post

Ray BorduinWebAssist

I think if you just applied the image resizer on any page of the site it would update the file. But you can just fix it manually. It shouldn't be an issue with sites you build in the future.

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...