close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Dynamic Folder Issue

Thread began 10/28/2010 9:51 am by dmheltzel267059 | Last modified 11/05/2010 12:34 pm by dmheltzel267059 | 15228 views | 12 replies

dmheltzel267059

Dynamic Folder Issue

When I upload through the CMS I've created, the photo gallery dynamically creates a folder to upload to and store all photos associated with that gallery. I'm using Developer Toolbox to create thumbnails right now, which dynamically creates the folder "thumbnails" within the each gallery's folder: gallery/thumbnails/thumb.jpg, while the large image lies in the root: gallery/. When managing the galleries, I can delete one photo or the entire gallery, and both ways delete the associated thumbnail.

I like the image resizer thus far, but first glance, it looks like I can't set up in the same fashion as Developer Toolbox. I tried directing the cache folder to the dynamic folder by replacing "image_cache" with "assets/gallery/galleryname/" with "galleryname" an php echo statement:

<?php
echo(getCachedResizedImageHTML(ob_get_clean(), "assets/gallery/<?php echo $row_rsGalleries['ID']; ?>/", "crop", "", false));
} // End Cached Resized Image: ImageCacheInstance_1288282423723
?>

Image resizer doesn't like this, plus when I do it the "image_cache" way, it creates a long path that seems redundant and doesn't just store it in the "image_cache" folder.

I can probably work around it but will be limited in maintaing it. If I delete a gallery/image, the cahced thumbnail will remain.

If there is a workaround, please let me know.

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