This project is read-only.

controlling images in a post

Topics: ASP.NET 2.0, Controls, Themes
Feb 24, 2010 at 10:39 AM

Hi there!

I've had a little look through your discussions and couldn't find anything relating to this.

What i'm trying to to do is get control of images in a post. So for example i want to display them in a special way, restrict the display size in the post and when clicked on they will appear in a lightbox.

I've looked through the code and noticed that the posts are put in a div called text, but i i think the image tag is created dynamically?

Any advice on this would be much appreciated.


Many thanks!


Feb 25, 2010 at 7:25 AM

If you upload images while creating blog entries on the Add Entry tab of the control panel, the code that handles the upload and inserts the <img> tag is the Add_entry.aspx.cs file in the admin\Pages folder.  It's all being done in btnUploadImage_Click().