Comments (5)
hmmm interesting. Hadn't considered this at all, I will add it to the todo list.
Original comment by BinaryMoon
on 16 Feb 2009 at 6:39
- Changed state: Accepted
from timthumb.
I gather this same issue would also stop me altering the icons/avatar's of
comment
posters. I would be nice to remove the external URL linking for these little
objects.
An Example of a gravatar icon URL:
http://www.gravatar.com/avatar/bd392f11e5b1a856ed79663775dc2bf8?s=32&d=identicon
&r=G
Original comment by [email protected]
on 11 Feb 2010 at 7:40
from timthumb.
Hello, Just had a quick look at my problem to timthumb my gravatar URLs; I'm
running FreeBSD and noticed that preg_match in the function mime_type says the
following:
if (!valid_src_mime_type($mime_type) && $os != "WIN") {
if (preg_match("/FREEBSD|LINUX/", $os)) {
I changed this to
if (!valid_src_mime_type($mime_type) && $os != "WIN") {
if (preg_match("/FreeBSD|LINUX/", $os)) {
you could bave done case insensitive matching; but the $os value returns
'FreeBSD' at
least for me running FreeBSD 6.4 ;with mostly latest other software.
This allows the 'file' directive to return a value
Hope this helps
Original comment by [email protected]
on 11 Apr 2010 at 6:02
from timthumb.
Seeing this with my blog, as well, using a Graph Paper Press theme (which
embeds timthumb.php to generate thumbnails) and the Photoshelter plugin, which
adds images to posts using a URL that looks like:
http://www.photoshelter.com/img-get/I0000vQCP.lyrVMg/s/590 - the filename of
the image returned is just "590" with no extension. Obviously, timthumb can't
be responsible for the URL that the Photoshelter plugin generates, and I have a
workaround (append "/590/thumbnail.jpg" to the URL above). Just wanted to point
out another use case...
Original comment by [email protected]
on 28 Jul 2010 at 8:08
from timthumb.
this has now been implemented - woo hoo :)
Original comment by BinaryMoon
on 25 Sep 2010 at 10:22
- Changed state: Fixed
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.