OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

PHP photo resizing

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP, PHP, and Database >> PHP photo resizing
Page: [1]
 
mjmtravel

 

Posts: 327
Joined: 7/30/2006
Status: offline

 
PHP photo resizing - 11/7/2009 10:22:19   
Guys, I need help.

I purchased a php photo script that you can upload images and rate them. Everything works good except the resizing of a photo link. Here is the deal. The customer has the option to upload a image file or a image link and the photo gets rated. The problem is, the code is supposed to resize the link photo to fit the page.

I don't know enough about PHP to get the settings right and the people I purchased the script from are not helping at all. I'm running a contest right now and the site looks like crap. I would be willing to pay someone to help me out if possible.
Here is the gallery link to see what I'm talking about. One photo is a uploaded file which works, the others are links. The photo content has nudity, just a warning.
http://www.travelbuff.net/photogallery/

I could post the two pages of script that I think are the problem or I could give someone my login information to look at it.
Any help would be greatly appriciated, I'm desperate on this one.

< Message edited by mjmtravel -- 11/8/2009 8:23:16 >
womble

 

Posts: 6007
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: PHP photo resizing - 11/8/2009 6:57:44   
It might be an idea to warn in your post of the subject matter of the photos (though that might encourage some of the more excitable members :)). I don't have a problem, but some members might rather not see such photos.

Without knowing what the script is (and as PHP is processed server-side, so it's not possible to see the code), it's impossible to say. Looking at the source code of the page, it doesn't look as though there's any Javascript controlling the image, so I would guess it's a PHP problem. Did the software specify that the server needed to have any particular image processing library installed on the server, such as ImageMagick, or support for GD and GraphicsMagick (and does the server your site's installed on have the required software?) Resizing images with PHP usually requires that the server has the GD library installed, or the gd2 PHP extension.

_____________________________

~~ "A cruel god ain't no god at all" ~~
~~ Erase hate. Practice love. ~~

(in reply to mjmtravel)
mjmtravel

 

Posts: 327
Joined: 7/30/2006
Status: offline

 
RE: PHP photo resizing - 11/8/2009 8:47:00   
Thanks Womble

I did add a warning and removed the url image upload until I get this problem figured out. I also just checked my host and GD is supported which is what the script looks like it is using.

Would you be interested in taking a look at the complete code. I still have the original in a zip file I could send you?

(in reply to womble)
Page:   [1]

All Forums >> Web Development >> ASP, PHP, and Database >> PHP photo resizing
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts