Tuesday, February 14, 2012 | Register | Login 
Minimize
 Module Support Forums
 
 Forum Forum metaPost Forums metaPost Forums Providers - Blo... Providers - Blo... Image location like core module Image location like core module
Previous Previous
 
Next Next
New Post
 1/4/2009 7:27 AM
Dario Rossa
14 posts
No Ranking


Image location like core module
 
Hi Don,

is it possible to configure the Blog provider to store images using the same hierarchy that is used by the core Blog module 03.05.00+ like this:

http://www.mydomain.com/Potrals/0/Blog/Files/[BlogID]/[EntryID]/myimagefile.jpg

At the moment the [BlogID] and [EntryID] tokens are not available, but this would help in keeping image files in order with the same pattern in installations where an user uses metaPost and another one uses the core metaWebLog provider .

Best regards,
Dario Rossa

Dario RossaDario Rossa
 
New Post
 1/4/2009 11:34 AM
Don Worthley
332 posts
8th Level Poster


Re: Image location like core module
 
Hey Dario,

Welcome back!  I hope you had a great vacation.

Unfortunately, the location of the images with the blog module was determined by the existing upload functionality.  We can certainly add this to the wish list of items for the next version; but, with the 3.5 version of the blog module, I just modified the code to use the existing infrastructure, which was written to save the images to the pre-defined location noted above. 

Thanks,

Don
 
New Post
 1/4/2009 11:42 PM
Dario Rossa
14 posts
No Ranking


Re: Image location like core module
 
Hi Don,

I had a very good time there, thanks! I will look forward when the [EntryID] and [BlogID] tokens will be availeble in the Blog provider. I think that this would be a usefull addition.

Best regards,
Dario Rossa

Dario RossaDario Rossa
 
Previous Previous
 
Next Next
 Forum Forum metaPost Forums metaPost Forums Providers - Blo... Providers - Blo... Image location like core module Image location like core module