Plugin

Developer
Supported

EZ Image Resize

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Jerry Price

     

You must be logged in to post.

Any way to get this to work with imported entries, where the images are stored on a remove server?

Support Request

padstow
padstow

Hi,
I have a project where we had to move the client from Blogger and import all her entries - will this work?  All of her images are stored on Blogger’s servers.  Please tell me yes… please tell me yes…  please tell me yes…

VIM Interactive
# 1
Developer
VIM Interactive

Yes remote images work .
Sample code used to test.

<h2>This is just a normal image tag</h2>

<
img src="https://www.google.com/intl/en_com/images/srpr/logo3w.png" />

<
hr />

<
h2>This is the same image with CE image applied</h2>

{exp:ce_img:single src="https://www.google.com/intl/en_com/images/srpr/logo3w.png" quality="50" width="160"}

<hr />

<
h2>This is multiples images (really the same in this instancewith ez_image_resize</h2>

{exp:ez_image_resize:run max_width="100" filter="opacity,30"}

<img src="https://www.google.com/intl/en_com/images/srpr/logo3w.png" width="50" />
<
img src="https://www.google.com/intl/en_com/images/srpr/logo3w.png" />
<
img src="https://www.google.com/intl/en_com/images/srpr/logo3w.png">
<
img src="https://www.google.com/intl/en_com/images/srpr/logo3w.png" />

<
img src="https://www.google.com/intl/en_com/images/srpr/logo3w.png" />

{/exp:ez_image_resize:run}

<hr />

<
h2>This would be the tag set for something like Wygwam</h2>


{exp:ez_image_resize:run max_width="100" filter="opacity,30"}

 {content}

{
/exp:ez_image_resize:run}

<br />
I have no entries loop therefor {content} does not exist 
padstow
# 2
padstow

That’s good news, still not working for me but I think I see the problem - some of the pictures are giving the error “Remote image failed XSS test” in the template debug.  Is there a workaround?

VIM Interactive
# 3
Developer
VIM Interactive

This looks to be an error with CE Image and the EE security feature to check the file. I don’t know of any work arounds as I have never came across this problem myself. I would be more then happy to help find a solution if you would like to send me some more details dev@viminteractive.com.

VIM Interactive
# 4
Developer
VIM Interactive

We fixed this issue correct? Just want to close this out if you are good to go.

padstow
# 5
padstow

Fixed!!  Thanks for the quick response!