Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 2
Goto page 1, 2  Next
 
Reply with quote Download Post 
Post Problems Generating Some Thumbnails 
 
Hello everybody...
I have problems generating some thumbnails of images that exists... For example, yesterday i coded one php to show the torunament ranking of an user.. But my site can't generate the thumbnail, and the image is perfectly...

For example: danielc

If you click in the image, you can see it perfectly, but the thumbnail isn't generated well..

Could you help me please?

EDIT: Link corrected.
 



 
Last edited by Danielc on Fri 03 Dec, 2010 14:08; edited 1 time in total 
DanielcSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Problems Generating Some Thumbnails 
 
Image address contains special characters and for security reason Thumbnail is not generated...
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problems Generating Some Thumbnails 
 
So, isn't there a way that i can generate the thumbnail??
Thanks for the answer..
 



 
DanielcSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problems Generating Some Thumbnails 
 
Yes, there is... but you will lose your warranty against hackers... do you want to proceed?
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problems Generating Some Thumbnails 
 
I have done one thing.. Can you tell me if that thing is secure?
I created a new folder with my file (called ranking.php). In that folder, i have created a .htaccess file, copying some parts of the one in the root. Also, i have written a rule to redirect, for example, "http://www.rankings.miiconsola.com/santiago marine.jpg" to my file with the correct parameters.. In rankings.php, i generate manually the thumbnails and copy them to the correct folder..

Is this secure?? Do yo need to see the php file?

Thanks!!!
 



 
DanielcSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problems Generating Some Thumbnails 
 
Why not remove the space x) ?
 



 
InformproSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problems Generating Some Thumbnails 
 
¿/santiago marine.jpg? that string is the username.. And that username has spaces xD... With other username like mine, there are no spaces...
 



 
DanielcSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problems Generating Some Thumbnails 
 
When you have to use strings in URL you have to use the urlencode method.

Code: [Download] [Hide] [Select]
urlencode($myurl)


Quotes should not be ever used.

If you urlencode your urls, thumbnails should work fine. Have a try.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problems Generating Some Thumbnails 
 
Now, my manually generated thumbnails work fine.. Anyway should i "encode" the urls?
 



 
DanielcSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problems Generating Some Thumbnails 
 
Yes, because some stupid browsers (try to guess which is one of them! ) sometimes doesn't recognize URL correctly if they are not encoded.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problems Generating Some Thumbnails 
 
Ok, i will do that.. Thanks again, MG!
 



 
DanielcSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problems Generating Some Thumbnails 
 
Sorry.. A little question.. Could you help me in where to add urlencode method??
 



 
DanielcSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problems Generating Some Thumbnails 
 
Do you have a script generating those urls or are you typing them manually?
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problems Generating Some Thumbnails 
 
I use .htaccess to "redirect" the link to the php with the needed args.. For example: http://www.rankings.miiconsola.com/Danielc.jpg is replaced with http://www.rankings.miiconsola.com/ranking.php?usuario=Danielc

To generate the thumbnails, i extracted some of the needed code to obtain the filename, and copy it manually to the thumbnails path..

Do you need the source code??

Thanks!
 



 
DanielcSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problems Generating Some Thumbnails 
 
I mean, where the image code is posted?

Is posted in a topic or automatically in the profile?
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron