PHP Developer's Network : Network Member
Forums

PHP Classes
Icontem

Screenshot images and other class image file types - PHP Classes blog


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Screenshot images and...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  Stumble It! Stumble It!   Bookmark in del.icio.us Bookmark in del.icio.us  
<< Previous: Discussion forums to ...>> Next: New server migration ...

Author: Manuel Lemos

Posted on: 2005-01-10



Picture of Manuel LemosHello,

Finally I have made time to implement a feature requested by several class authors for a long time, which is the ability to upload binary files, specifically files of graphical image formats. So, from now on you can upload image files of the types: GIF, JPEG and PNG.

I have added a few new file roles for these types of files which are: icon, image, screenshot and photograph. Image files may also have the role auxiliary data and sample output. I am not sure if I missed any other important role of image files. Just let me know if you need any other role.

There is also a new section in each package page reserved for screenshots. If your classes are meant to produce special Web pages or other type of graphical output, it would be very interesting for the users if they could see the screenshots first.

The page for adding screenshots is basically the same for adding any other types of files. However, since most users may want to see the screenshots without any requirement to subscribe or login to the site, screenshots added using the link in the screenshot section are made always accessible without requiring login. In this case screenshot file accesses do not count for your package downloads.

You can change that the login requirements option later, but if the login requirement is imposed to a given screenshot image file, that image will only be listed in the Files section below, and so, it will no longer appear in the screenshots section that is displayed first in the top of each class page.

One of the reasons why I relucted to allow images to be uploaded, is that these files tend to be much larger than source code. So, to prevent exaggerated disk space usage, the allowed file size is limited to 300KB. The image size is also limited to 640 x 480 pixels.

I recommend to use mainly the JPEG format, especially for screenshots and photograph images that can be made much smaller with good compression ratio.

In the future I may allow uploading also Flash and PDF files. For now, enjoy this new feature and make sure you upload some compelling screenshots if your classes present viewable output to make a good impression of your work.

To finish I leave you with an example of a class that already has a screenshot.

The class page
http://www.phpclasses.org/browse/package/1.html

The screenshot image page
http://www.phpclasses.org/browse/file/8178.html

Regards,
Manuel Lemos

<< Previous: Discussion forums to ...>> Next: New server migration ...

 

  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Screenshot images and...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  Stumble It! Stumble It!   Bookmark in del.icio.us Bookmark in del.icio.us  
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products