TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 01-22-2008, 03:54 PM   #1 (permalink)
The Contributor
 
aristoworks's Avatar
 
Join Date: Nov 2007
Location: Nashville
Posts: 44
Thanks: 7
aristoworks is on a distinguished road
Default Creating Image Thumbnails WITHOUT header()

I posted an issue a few days ago about how I'm using a flash remoting framework known as amfphp. I have no control over this.

I am needing to create thumbnails based on images (Primarily jpg and gif but would like png support).

I know how to create a thumbnail utilizing a header() but unfortunately I cannot utilize header() as it's already output by amfphp and at runtime it's throwing a nasty "Headers already output" error.

Is there an alternate way of taking an image - creating a thumbnail without utilizing header()'s.

Thanks
jw
Send a message via AIM to aristoworks
aristoworks is offline  
Reply With Quote
Old 01-24-2008, 04:22 AM   #2 (permalink)
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
sarmenhb is on a distinguished road
Default

whats wrong with setting this in your <head></head>



Code:
<style type="text/css">
.thumb {
width:40px;
height:30px;
border:0px;
}
</style>
__________________
no signature set
sarmenhb is offline  
Reply With Quote
Old 01-24-2008, 12:53 PM   #3 (permalink)
The Contributor
 
Join Date: Dec 2007
Location: Florida
Posts: 73
Thanks: 12
danielneri is on a distinguished road
Default

Resize/Thumbnail Images With PHP - Viper Creations

Edit this to your needs =)
__________________
Send a message via AIM to danielneri
danielneri is offline  
Reply With Quote
Old 01-24-2008, 11:42 PM   #4 (permalink)
The Acquainted
 
wGEric's Avatar
 
Join Date: Nov 2007
Posts: 166
Thanks: 0
wGEric is on a distinguished road
Default

Are you creating the thumbnails on the fly or can they be stored somewhere?
__________________
Eric
wGEric is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 01:34 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design