PDA

View Full Version : Working on a new super nifty Archive Addon...


ibejo
08-17-2005, 01:44 AM
I'm working on a new super nifty archive addon that will be somewhat similar to Chromasia's. Couple issues I'm bumping into and would love some advice:

1. The normal images are too big and the thumbnails are too small - is need image versions somewhere in between. Is there a slick "on the fly" way I can create "medium" sized images off of the normal image (and still retain the exif data?)

2. I'm going to be displaying X number of images per page (what ever matches the search criteria) vertically. The image will be on the left and the "info" will be on the right. I want to display the title, my body text, # of comments, full set of exif data, permalink, etc. How can I display the exif data individually for each image when there will be X number of images on the page?

Help!

GeoS
08-17-2005, 10:04 AM
1. I.e. you can use CropImage tool twice on new image adding page. 1) for generating thumb and 2) for medium size image.
Other way is to add parameter in options with size of image in pixels and do same process as for generating thumb (but outputing image to other folder, i.e. images-med).

2. As you read data for each picture you should read in the same way EXIF for them.

raminia
08-17-2005, 08:07 PM
1) I'm very glad that at last someone is working on a new archive :) I'm gettin sick of reporting bugs of paged_archive addon I wrote about a year ago.

2) before you proceed please take a look at Portfolio admin-addon that I made for my personal website and I introduced it inside the alpha team forum. The idea behid it is the exact Chromasia's Favorate photos. it works as a single addon script and adds to new tables to pp for showing galleries (portfolios)
you can check out a the results on http://pblog.raminia.com/index.php?x=gallery

I wrote that for my personal use only but if you can modify it and extend it into something more usefull which includes your above ideas that would be really GREAT.

I also put some facilities inside that addon to generated thumbnails for the galleries a part from PP's default job but it is not fully implemented. It can also show more than one photo on a page with adjustable number of photos on each page. I can give you more details if you find it usefull.

cheers,
Ramin

raminia
08-17-2005, 08:12 PM
2. I'm going to be displaying X number of images per page (what ever matches the search criteria) vertically. The image will be on the left and the "info" will be on the right. I want to display the title, my body text, # of comments, full set of exif data, permalink, etc. How can I display the exif data individually for each image when there will be X number of images on the page?



yes! Geos is right. and you need to that with a different template name rather than browse or image. something line archive_template.html with index.php?x=archive

japanwindow
08-31-2005, 06:33 AM
It would be great if each category page of the gallery had it's own page title, e.g., "Category Name at Blog Name"