Browse Uploaded Images (or Files)

Topics: ASP.NET 2.0, Business Logic Layer, Controls
Mar 9, 2009 at 10:19 AM
I have just been starting to look at BlogEngine.NET. I must say it's one of the most smooth installation processes at the remote server I have seen. Well done!
One thing I cant find or understand is when I make a new post/page I am able to upload new images, but I cant find anywhere to browse for existing images or files. Do I look at the right place or does BlogEngine.NET not support this? Anyone who kno any components to achive this?

Best regards,
Sam
Mar 9, 2009 at 12:32 PM
Hi !

If you saved image today, it will be under App_Data/files/2009/3/

Regards,
Gennady
Mar 9, 2009 at 12:59 PM
Hi Gennady,

I have figured that storing part out. But are there any way to insert an already uploaded image, without knowing the path and manualy insert an <img>-tag?

//Sam
Mar 9, 2009 at 1:26 PM
Hi Sam !

I've found BlogEngine only a couple of days ago, so I cannot give you the "authoritative" answer.
But if you mean that you'd like to use the images and/or files uploaded by other posters - think it
is not and will not be possible. And IMHO such working pattern is wrong. Will you be happy if
somebody will use your materials without your permission ?
We may speak about public (or even personal) library/gallery or so. Think, this may be a good idea for
BE authors to-do list. If it is not yet implemented.
You may add it to thread "What features do you want".

Regards,
Gennady

Mar 9, 2009 at 10:03 PM
I agree, to the permission-thing (if its threated that way, I dont know yet.). But it's a good idea to be able to use same pictures in diferent blogposts/pages without to manually enter the path to them.

Seems there would be anyone else thinking about this? Any suggestion about plugin modules?

Regards,
Sam
Mar 11, 2009 at 5:22 PM
I also found it odd that I couldn't re-use the same uploaded image for new posts. Hopefully this will be an added feature in the future.
Coordinator
Mar 11, 2009 at 7:49 PM
jgionet76: You should be able to re-use a previously uploaded image in a new post.  You just have to manually add the <img> tag with the correct src.  If you're entering your posts on the Add Entry tab, if you click the 'Use raw HTML editor' checkbox or the 'HTML' toolbar icon, you can enter an <img> tag.  The tag you enter would look something like:

<img alt="" src="/image.axd?picture=2009/3/someImage.jpg"/>

You can get the "src" value by looking at the <img> src in the original post where you uploaded the image.

Maybe this process can be improved in the future as samboman is suggesting, where you could have some type of 'image chooser' that displays previously uploaded images.
Mar 12, 2009 at 9:09 AM
Hi BenAmada !

You're right with some assumptions:
1. All blog users (posters) are in the same time blog admins or at least are aware of blog application storage structure. Flower sellers, pet funs are the quick examples of such users that may need shared image gallery.
2. The storage path will never be changed.
3. All posters have fenomenal memory to remember the names of images
4. All posters by default allow anyone to use their images without any permission.

So with no doubt you're right that the stored image may be used, but sure it's worth to improve and convert to feature.

Regards,
Gennady
Feb 2, 2011 at 3:37 PM

I came across same situation where I wanted to pick my previously uploaded image.

So, I came up with quick solution; image picker for BlogEngine.NET. you can download source from http://beimagepicker.codeplex.com/ . For detail: http://www.sumanpradhan.com/post/2011/01/31/Image-Picker-for-BlogEngineNET.aspx

Hope this helps!

Regards,

Suman Pradhan

Feb 11, 2011 at 9:05 PM

I am looking for your code for beimagepicker but I can't find it at the codeplex location.

Feb 11, 2011 at 9:26 PM
You can download it from source page.

thanks

From: traxaem
Sent: Friday, February 11, 2011 4:05 PM
To: sumangopal@live.com
Subject: Re: Browse Uploaded Images (or Files) [blogengine:49600]



> From: traxaem
>
> I am looking for your code for beimagepicker but I can't find it at the codeplex location.
>
>