Search

1.7's image manipulation engine could work with external urls (like for instance a picture from flickr) how is this supported in 2.0? My intention is to completely cache(aka mirror) an external photofeed, external feeds xml are already cached, now if only the actual pulled pictures are too....

It is still supported. Add a /1 to the end of any image manipulation URL. E.G.

http://yoursite.com/image/1/200/400/1/flickr.com/blah/something.jpg

Notice the /1 just before the flickr.com path? That indicated to Symphony that it is dealing with an external link rather than a local path. This applies to all image function (1, 2 and 3). Add /1 to the end of he url, just before the path.

What is the format for the rules that has to be entered in the preferences? I want to allow my site to fetch images from flickr, and have tried with

farm4.static.flickr.com

and

flickr.com

Neither works. I get an error saying

Error: Connecting to that external site is not permitted.

note that you have to strip http:// from the domain in your img source path

With picasa there is the prublem of what subdomain to use, I suspect the subdomains change , soem kind of laod balancing; lh3, lh4 and lh5 are used….

also crop widthout first resizing, mode 3 doesnt seem to wrk with external images from picasa?

I think you might need to add wildcards at the end of the domains:

farm1.static.flickr.com*
farm2.static.flickr.com*
etc*    

Ah. In the end. That’s what the instructions read as well, but I thought it was a typo and tried with *.flickr.com.

Thanks.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details