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

wrong path created

Thread began 9/12/2011 10:35 am by info97301 | Last modified 9/13/2011 11:50 am by Jason Byrnes | 980 views | 3 replies |

info97301

wrong path created

Hi

I've been using the beta version, as I couldn't get the other to work with dynamic images.

however, the resized image isn't put in the place I expect - potentially causing problems on other pages.

Code on the page:
<?php
if(TRUE){ // Begin Cached Resized Image: ImageCacheInstance_1315835657767
ob_start();
?>
<img src="../upimages/PageMainPics/<?php echo $row_rsClubVAR['PgMainPic']; ?>" alt="<?php echo $row_rsClubVAR['PgMainPicAltText']; ?>" width="300" height="200" align="left" />
<?php
echo(getCachedResizedImageHTML(ob_get_clean(), "../upimages/PagemainPics/thumbs300", "proportion", "", false));
} // End Cached Resized Image: ImageCacheInstance_1315835657767
?>

Path created:
upimages/PagemainPics/thumbs300/upimages/PageMainPics/proportion/Sweens8_w300_h186/Sweens8_04081245.jpg

What I would have expected is:
upimages/PagemainPics/thumbs300/Sweens8_04081245.jpg

How do I correct this?

many thanks
Chris

Sign in to reply to this post

Jason ByrnesWebAssist

this is not an issue, that is the way image re sizer creates paths to the cached images.

Sign in to reply to this post

info97301

Hi Jason

It is an issue to me!

I'm in the process of redesigning a site that has many thousands of images already, created using the old Interakt extensions. The previous thumbnails have suffixes attached to the filename which isn't consistent with using the web assist UE file upload extension (to simultaneously create 2 thumnails in different folders), so I was looking for a way to recreate the thumbnails in a way that would enable a user to delete the main file and 2 thumbnails when a page was deleted. The existing thumbnails folder could then be deleted, with new thumbnails created using Image Resizer, stored in the same folders as those uploaded with UE.

For example:

UE image upload to upimages/PageMainPics (resized to 800x600)
Thumbnail 1 to upimages/PageMainPics/thumbs300 (resized to 300 x 200)
Thumbnail 2 to upimages/PageMainPics/thumbs300 (resized to 150 x 120)

How am I meant to delete images from the server if they're all in peculiarly named subfolders?

What's the point in having the option of naming where you want to store the thumbnails if they aren't actually stored in that locastion? This was a feature that attracted me to the extension in the first place!

The tutorial (image-resizer_gsg.php) certainly suggest that the folder you choose is where the thumbnail will be stored:

"Cache folder: This is the directory on your server where your new image files will be stored. If this directory does not exist when the Image Resizer functionality is applied, it will create the folder for you (as long as your server's permission allow for folder creation)."

The graphic used on the extension page clearly says "Select the folder where you would like to use to store the resized image files"

If the extension doesn't work in the way advertised, could you please arrange a refund. I'd much prefer it, of course, if it could be made to work the way it should!

Cheers
Chris S

Sign in to reply to this post

Jason ByrnesWebAssist

to prevent overwriting if a file name already exists, the folder structure is created in the cache folder.

If you wish to pursue a refund, contact the sales department by email at sales@webassist.com

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