Questions tagged [timthumb]

Timthumb is a small php script for cropping, zooming and resizing web images (jpg, png, gif).

TimThumb – PHP Image Resizer

TimThumb is a simple, flexible, PHP script that resizes images. You give it a bunch of parameters, and it spits out a thumbnail image that you can display on your site.

TimThumb has seen a massive amount of use across the WordPress world, and a few months after we released it, I took over development from Tim, a friend of Darren Hoyts, who created the original script. Since I took over there have been a whole host of changes, bug fixes, and additions.

78 questions
0
votes
1 answer

403 forbidden error occured

I have hosted a new website on shared server(so no apache error log access). All is working fine, except images coming from timthumb. Error might be in .htaccess file and it working properly on my local environment. I have PHP version 5.3 on local…
Neha Mangla
  • 1,042
  • 3
  • 13
  • 24
0
votes
1 answer

Delete Query Strings from IMG

Well, I've already mentally resigned from this htaccess redirection things. I don't know if most questions I have are not even possible or just nobody knows. However, now I've a simple question, probably, for someone who is used to do those Apache…
Andi
  • 3
  • 4
0
votes
2 answers

Timthumb getting error: Could not create the file cache directory

Recently I am working on a project, where I need an image resizer script. I searched many times on Google, but I did not found any good script. I just saw one named timthumb, but I'm still getting problems. I am using this code snippet for trimming…
user2951112
  • 105
  • 1
  • 2
  • 10
0
votes
1 answer

Copy image from url using timthumb

I'm currently working on an uploading, resizing & cropping script. I'm having some trouble copying an image from a URL and saving it onto my server. This is my code where the error occurs. I replaced my domain with [MYDOMAIN] - so overlook that…
0
votes
1 answer

How can I modify TimThumb script to give my post thumbnail an auto height?

I'm having an issue with the featured images that are being generated (cropped and resized) by the TimThumb script. Is there a way to tell the script that I want the images to be a specific width (with no cropping) and then have an auto height to…
Patrick Ryan
  • 53
  • 1
  • 8
0
votes
1 answer

Timthumb 403 forbidden issue

I am trying to use timthumb in one of my projects and it doesn't seem to be working and i searched all over and couldn't get the issue sorted. Here is the url of my…
Nirmal Ram
  • 48
  • 1
  • 7
0
votes
1 answer

TimThumb src parameter is a url with it's own parameters

I'm implementing timthumb to resize and create thumbnails of attached images on a forum. The forum uploads the images and they're accessible via it's own query string, and it also creates 1 thumbnail (for the post/thread view). The tim thumb is…
i-CONICA
  • 2,361
  • 9
  • 30
  • 45
0
votes
1 answer

Resize Images in php

I am having problem in resizing pictures. to show the uploaded images i have saved their path in database table and code to show images is: $result = mysql_query("SELECT * FROM photos"); while($row = mysql_fetch_array($result)) { …
Nouman
  • 45
  • 1
  • 1
  • 8
0
votes
1 answer

Is it possible to use timthumb.php inside JSP page

I want to use timthumb.php for image resizing/cropping but my project is Java EE. Is is possible to use something like this in my jsp page ?
404
  • 89
  • 3
  • 15
0
votes
1 answer

TimThumb Call to undefined function imagecreate fromjpeg()

I have downloaded TimThumb renamed the script to index.php and uploaded it to a heroku server. I get this error when using a jpg image. [Wed Jul 10 08:01:28 2013] [error] [client xx] PHP Fatal error: Call to undefined function…
Rails beginner
  • 14,321
  • 35
  • 137
  • 257
0
votes
1 answer

timthumb not finding image

I'm building a site using wordpress installed on localhost. For some reason my post.php page is not displaying post thumbnails (featured images). I have identified that it is a problem with timthumb.php which is not correctly locating the image url.…
contool
  • 1,034
  • 3
  • 18
  • 29
0
votes
2 answers

rewrite timthumb to actual url

I'm stuck. I don't want to use timthumb anymore and removed it. I get some requests from Facebook that I want to redirect/rewrite with .htaccess, but everything I tried didn't work out. This is the request…
WendiT
  • 595
  • 2
  • 9
  • 26
0
votes
1 answer

Timthumb htaccess rewrite

Since like a day, my timthumb stopped working however did figure out that it has probably to do with the modsecurity. So the following, which worked untill a day…
Grmn
  • 542
  • 2
  • 9
0
votes
2 answers

Asp.Net: Dynamic image resize

I want to create an image resize mechanism for my Asp.Net web site project like timthumb. I want to do this: Upload image Set a size If I need another size of this image I can give "only" size without upload again. How can I do this, do you have…
cagin
  • 5,772
  • 14
  • 74
  • 130
0
votes
1 answer

CakePHP resize image served from CakeResponse with Timthumb

I have a view that displays an image from CakeResponse::file. I'm using the Media plugin to initially upload the image that saves the basename to the database which works fine, however I'm blocking access to the media directory with .htaccess so I…
dcd0181
  • 1,493
  • 4
  • 29
  • 52