GetImage not working after upgrading from 8.1 to 8.2

Olivier Cozette asked on January 7, 2015 03:56

Anybody having trouble with "GetImage" after upgrading from 8.1 to 8.2 ? No images are shown now on my site... Rolling back, and trying again tomorrow. I will follow the instructions this next time...

Thanks !

Recent Answers


Vilém Jeniš answered on January 7, 2015 15:19

Hello Juan!

Could you please be more specific? What is GetImage? Do you mean a transformation method or a method in the code?

What is your specific use-case? How do you use the method? What happened? Anything in the eventlog? A stacktrace? What argument(s) did you pass to the method?

Let me know how did it go this time...

0 votesVote for this answer Mark as a Correct answer

Josef Dvorak answered on January 7, 2015 15:19

Hi Juan,

I have checked transformations on my 8.2 instance, and the GetImage method is still available and works correctly, so I do not think the upgrade would cause any issues directly to it. Did you notice any errors in the Event log when the transformation is displayed?

0 votesVote for this answer Mark as a Correct answer

Olivier Cozette answered on January 7, 2015 20:22

No, no errors at all, the upgrade worked like a charm. That's why this is weird. One thing, I have noticed JQuery is not available anymore directly by Kentico. I have to check if I was using some JQuery transformation to shown the images, and if so, I have to add a reference to a new JQuery file myself. I'll try again tonight.

Thanks

Vilém, GetImage is a method used as follows:

GetImage(object attachmentGuidColumn) <%# GetImage("ABC") %> --•Returns complete HTML code of the image whose GUID is stored in the column of the given name.

Thanks a lot !

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on January 8, 2015 14:37

Juan,

I suggest clearing your browsers cache.

0 votesVote for this answer Mark as a Correct answer

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