Giter Site home page Giter Site logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 23, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 23, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 23, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 23, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 23, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.