As I’ve found some bugs in it, and I didn’t consider files uploading enough comfortable, I’ve decided to update this little thingy. New version is creating less mess on FTP (js & style folders were moved into system), few bugs are fixed, few functionality clearance, but most important thing is new file uploader. I’ve implemented the GREAT jQuery Uploadify plugin, which is creating THE most comfortable file uploading experience EVAR! :)
Oct
17
Thumbnail generation functions in PHP Posted in: PHP, Tutorials Comments (1)
First, lets take a look on what problem will this tutorial solve, so you can decide if you want to read more :)
We will write 2 functions for creating thumbnails from random image (png, jpg, gif). First function will take thumbnail width and height set by you, and cut the “most important” part from the image (I’m assuming, that you are creating thumbnails of websites, so center top is the area I’m talking about) according to thumbnail ratio, and resize it into your thumbnail in exact size that you’ve set. Second function will take max thumbnail width and height set by you, and resize the image so it will fit your max values, but with preserving its original resolution ratio.
Oct
3
Simple animated toggle with jQuery Posted in: Tutorials, Webdesign, jQuery Comments (1)
We all know about jQuery. Powerful and very popular JavaScript framework with many useful and great plugins. But the variety of plugins has created one bad behavior among webdevelopers. When they need to create some effect, or function, they are often looking for solution in plugins, instead of trying to do that on their own. This simple search for simplified coding is creating mess in code, and forcing you to compromises in your layout, styling, or even website design. In this tutorial, we will create few lines of code, that can replace very popular plugin called Animated Collapsible DIV, or most of the plugins creating tabs.