Page 1 of 1
Help : i want to convert Template into Thumbnail
Posted: Fri Oct 03, 2008 1:25 am
by Ajay Patel
Hi All
I have 1 Template n i want to make thumbnail of that template could u suggest me or give me PHP code so i can implement that in my project.
Thanks All
Re: Help : i want to convert Template into Thumbnail
Posted: Fri Oct 03, 2008 2:23 am
by onion2k
Why do new users never give us enough information to answer their questions?
What sort of templates? Photoshop templates? Smarty templates? HTML templates?
What sort of thumbnails? Images? HTML?
What research have you done so far? Do you have
any ideas yet?
Re: Help : i want to convert Template into Thumbnail
Posted: Fri Oct 03, 2008 3:39 am
by Ajay Patel
i have used HTML template
i don't have any idea about how to create Thumbnail
Re: Help : i want to convert Template into Thumbnail
Posted: Fri Oct 03, 2008 3:54 am
by papa
Show us some code and we might be able to help.
Re: Help : i want to convert Template into Thumbnail
Posted: Fri Oct 03, 2008 4:06 am
by onion2k
Ajay Patel wrote:i have used HTML template
i don't have any idea about how to create Thumbnail
You're still not really giving us enough information, but I'm going to take a guess that you mean a thumbnail image previewing the completed HTML template.
Your best bet is to do it manually. Load the page in a browser, take a screenshot, and then either resize it using Photoshop on your PC or upload it to a resizing script on the server. Writing a script to automatically generate an image from a page of HTML is next to impossible with PHP. It can be done, but the code is so fragile and depends on such a specific set up that there's really no way anyone on a forum will be able to help with it.
Alternatively, if your HTML is publicly accessible, you could try a service like
http://www.shrinktheweb.com/
Re: Help : i want to convert Template into Thumbnail
Posted: Fri Oct 03, 2008 5:42 am
by Ajay Patel
i have just HTML template Page and in that i add contents dynamically in that template
i want Thumbnail of that Template page which include my contents.
means i can't take snap shot and create thumbnail b'coz my template data is dynamic.
Re: Help : i want to convert Template into Thumbnail
Posted: Fri Oct 03, 2008 6:38 am
by onion2k
Ajay Patel wrote:i have just HTML template Page and in that i add contents dynamically in that template
i want Thumbnail of that Template page which include my contents.
means i can't take snap shot and create thumbnail b'coz my template data is dynamic.
Seriously, trying to do this automatically with PHP is virtually impossible.
Can't the person who modifies the content update the thumbnail at the same time?