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
Help : i want to convert Template into Thumbnail
Moderator: General Moderators
-
Ajay Patel
- Forum Newbie
- Posts: 7
- Joined: Fri Oct 03, 2008 1:16 am
Re: Help : i want to convert Template into Thumbnail
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?
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?
-
Ajay Patel
- Forum Newbie
- Posts: 7
- Joined: Fri Oct 03, 2008 1:16 am
Re: Help : i want to convert Template into Thumbnail
i have used HTML template
i don't have any idea about how to create Thumbnail
i don't have any idea about how to create Thumbnail
Re: Help : i want to convert Template into Thumbnail
Show us some code and we might be able to help.
Re: Help : i want to convert Template into 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.Ajay Patel wrote:i have used HTML template
i don't have any idea about how to create Thumbnail
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/
-
Ajay Patel
- Forum Newbie
- Posts: 7
- Joined: Fri Oct 03, 2008 1:16 am
Re: Help : i want to convert Template into Thumbnail
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.
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
Seriously, trying to do this automatically with PHP is virtually impossible.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.
Can't the person who modifies the content update the thumbnail at the same time?