DMX|ZONE
  • Blog
  • Articles
  • Extensions
  • Templates
  • Showcases
  • Videos
  • Subscriptions
  • All Categories
  • 103 CSS
  • 23 WordPress
  • 104 Web Life
  • 181 JavaScript
  • 38 Photoshop
  • 227 Dreamweaver
  • 28 Fireworks
  • 154 Flash
  • 153 Design
  • 44 Databases
  • 312 Server Side
Register Login
  • Blog
  • Articles
    • Manuals
    • Premium Content
    • Reviews
    • FAQs
    • e-Magazines
    • e-Books
    • Books
  • Extensions
  • Templates
  • Showcases
  • Videos
  • Subscriptions

PHP/ CSS Image Gallery: Thumbnailing a Portion of an Image Support

Build an admin tool that allows you to define thumbnail images which interactively provide you with a way of selecting a portion of the image to use as the thumbnail.

In last week's article ("PHP/ CSS Searchable Image Gallery") we looked at how we could build an image gallery using PHP and MySQL and then display it with minimal effort by positioning the images on the page with CSS. Today we build an admin tool that allows you to define thumbnail images which we will link to the main image, but rather than blindly resize the thumbnail to within a set of specific size constraints, we will interactively provide you with a way of selecting a portion of the image to use as the thumbnail.

So, using this code you can interactively choose which area of a photo to use as a thumbnail, looking far more professional than presenting a tiny hard-to-see thumbnail of the whole picture. As an example, here are two seperate areas being selected as thumbnails, using the script provided and explained in this week's tutorial.

 

Please note that this article forms part of a chapter in the DMXzone e-book PHP Web Applications for Dreamweaver: Juicy Solutions for the Busy Developer.

$3.09
- OR -
see our Subscription Options

Overview

 

 

 

Allan Kent

Allan KentAllan comes from Cape Town, South Africa. He has been implicated in writing for several WROX, glasshaus, Wiley and Apress publications, generally in the 'cool stuff that PHP can do' sections.

You can catch up with him at his website http://www.mediafrenzy.co.za.

See All Postings From Allan Kent >>

$3.09
User Level: Any
Database: MySQL
Server Model: PHP MySQL (DWMX)
Technologies: CSS, HTML
Number Of Pages: 14
Support: http://www.dmxzone.com/forum/default.asp?NewsId=6427

Download The Most Advanced Web App Builder in the world!

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of our powerful extensions, as well as much more!

Download now for FREE

Extension Manager

The DMXzone Extension Manager is an application that will make your life easier. In a blink of an eye you can install, update and manage your extensions and templates.

Get it Now

Latest Wappler News

    Currency:
    Company Info
    • About Us
    • Contact Us
    • Advertising
    • Sponsors
    • Writers
    • Hall Of Fame
    Payment & Pricing
    • Payment Methods
    • VAT / Tax
    • Volume Pricing
    • Discount Codes
    • Subscriptions
    Legal Notices
    • Terms & Conditions
    • Subscription Terms
    • Privacy Policy
    • Refund Policy
    • Licenses
    Guides
    • Using The Shopping Cart
    • Navigating The Profile Page
    • Getting The Best Support
    • Using The Support Forums
    • Where Do I Find My Serial
    • How To Install An Extension
    Copyright © 2001-2025 Dynamic Zones International B.V., All Rights Reserved.