close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Delete file in association with Image Resizer folders

Thread began 10/28/2010 8:54 am by John Langer | Last modified 10/29/2010 10:48 am by John Langer | 862 views | 2 replies |

John LangerBeta Tester

Delete file in association with Image Resizer folders

I've successfully used the "delete File" part of this for sometime now from within the DataAssist Delete record behaviour. When deleting a record also delete the image that was associated with it. Great.

I'm just working on something that is also using "Image Resizer" to create thumbnails. Is it possible to use the "Delete File" behaviour in DFP to delete the image that's now stored in the "Image Resizer" folder(s) as well? It would also need the folders deleted as they are named after the image. I have tried to do it but it becomes very complicated (to my abilities anyway) and I've therefore been unsuccessful.

Sign in to reply to this post

Ray BorduinWebAssist

It would take some hand coding.... you'd have to replicate the logic that image resizer uses to determine where the cache is stored, then use a recursive delete function to remove the subfolders and files.

If you want to pay for a support incident (or maybe you have a free one?) we could probably help you do that in a half hour phone session.

Sign in to reply to this post

John LangerBeta Tester

Many thanks Ray,

That's the way I was going about it when it all became a bit complicated. You have, in fact, confirmed my logic, so now I know that I was going about it the right way I may just get there on my own.

To be honest I'm not that bothered with this functionality on this project but it may prove to be beneficial in the future. Other wise you tend to get clogged up with files that are just not necessary any more.

If I get it worked out I'll post back with the answer.

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