Page type transformation for Images uploaded

Shweta S asked on August 18, 2015 18:20

Hi,

I have a page type ( ex : News ) with one of the fields of type File upload. Also, created a new transformation to retrieve images using GetAttachmentUrl(Eval

Correct Answer

Laura Frese answered on August 18, 2015 21:13

Hi Shweta, What is your question? If GetAttachmentURL isnt working for you, maybe try something like... <img src="<%# ResolveUrl("~/CMSPages/GetFile.aspx?guid="+Eval("Image")) %>" />

1 votesVote for this answer Unmark Correct answer

Recent Answers


Shweta S answered on August 18, 2015 22:39

Thank you Laura, it worked !

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.