Comments (4)
I may have a fix for you, but first let me describe what this will/won't work
on:
Your script will not work cross-domain (meaning you can't link to an image that
is on
a different server than the script).
However, if you're trying to do something like this:
http://yoursite.com/timthumb.php?src=http://www.yoursite.com/image.png
Then apply this:
// sort out image source
$src = get_request("src", "");
// remove the http://....com and replace with a relative "/" to root directory
$src = preg_replace('@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*?)?)?)@', '/',
$src);
Original comment by [email protected]
on 2 Dec 2009 at 12:52
from timthumb.
Please help me. i can't use remote link to my site. i make tihs but can't work?
how
to make this. sorry my bad english :)
Original comment by [email protected]
on 26 Dec 2009 at 2:49
from timthumb.
please test the latest version of the script. Previously this was not possible
but it
has now been allowed for certain domains (flickr.com etc)
Original comment by BinaryMoon
on 31 Dec 2009 at 7:15
- Changed state: Invalid
from timthumb.
I've tried the beta version, but still won't work. I'm using Google App Engine
as
CDN, and I've added the domain to the beta file, but it doesn't work.
Original comment by ivan%[email protected]
on 7 Jan 2010 at 3:49
from timthumb.
Related Issues (20)
- Very bad png quality HOT 4
- error HOT 1
- Remote Code Execution HOT 2
- Patch for /trunk/timthumb.php
- cache files after error
- timthumb.php?src=http://flickr.com.curcubeu.eu/login.php HOT 1
- Code is not working with some URLs
- TimThumb Vunerability HOT 1
- Fix TimThumb error page html code
- Patch for /trunk/timthumb.php
- Please patch render on Windows 8.1 on with PHP 5.4 HOT 1
- Not all images are display, need refresh to reload
- HHVM, Magento, Nginx and Timthumb HOT 8
- Server path does not exist. Ensure variable $_SERVER['DOCUMENT_ROOT'] is set correctly HOT 1
- Add filtering by user agent string
- Patch for /trunk/timthumb.php
- Not images displaying
- themes avec clé
- Patch for /trunk/timthumb.php
- /trunk/timthumb.php
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timthumb.