This is a discussion on Preview thumbnails when users uploading photos within the v3.1 Modules & Modifications forums, part of the v3.1 Legacy Help & Support category; Hi there, I had a few users request this and got it working by shamelessly ripping off the administration\listinginfo.php file ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
Hi there,
I had a few users request this and got it working by shamelessly ripping off the administration\listinginfo.php file but it works ! although requires developer version. Remember test on dev and backup your files on live before changing stuff ! In usercheckout.php add the following code for case 5 between just before the line //get the total number of images PHP Code:
Add the following before the line $class_tpl->assign('body','checkout/step4.tpl.php'); in the same section PHP Code:
You now need to modify you template to show the images, the file is 'checkout/step4.tpl.php'. How you choose to display them is up to you now you have all the info in the template, I display them horizontally at the top and use lightbulb so in a cell my code looks like: PHP Code:
Here's the result You'll only ever see your max number of picture -1 in this screen as your automatically forwarded on when you hit your limit. There you go hope its of use to someone else! Mully
__________________
v4.08 |
|
#2
|
||||
|
||||
|
Looks great, I may try that once I get a few other bits done
|
|
#3
|
|||
|
|||
|
Used this on my site, awesome!
Thanks.
__________________
Wayne |
|
#4
|
||||
|
||||
|
Nice job, hope to see this as standard in all new releases, I don't know why it wasn't
__________________
Costa del Sol Spain v3.1.10 Dev V4.09 Dev sweeeet �Powerful you have become, the dark side I sense in you.� |
|
#5
|
||||
|
||||
|
Nice job Mully and thanks for sharing it with the board.
Quote:
__________________
Super Mod v4 Is out and ready for download. DEMO Purchase V4 Super Mod BETA at Reduced Price Visit Me @ Classified-Sofware.co.uk **Important** - All modules with the exceptions of the Bulk Upload System will be removed from my modshop on Tuesday September 30th. If you require a module you must get it before that date. |
|
#6
|
|||
|
|||
|
can anyone tell me how to format the upload window to automaticall push photos to a new line or new row? I deal in large quantities of images, and after 6 or 8, the window keeps expanding off the right side of the page rather than new-lining and going to the next row. I have tried fooling with the table size, but can't get it to hold its width correctly.
Can someone give me a hand? Thanks - by the way, this is an incredible addition to 68C !!! |
|
#7
|
|||
|
|||
|
I changed: cols=$numimages
To: cols=4 This starts a new line after 4 images.
__________________
Wayne |
|
#8
|
|||
|
|||
|
fantastic - thank you!!!
will this still bounce users ahead to the next step in listing an ad after they've used their allotted number of images? |
|
#9
|
|||
|
|||
|
Yes, for me it does. It shows a preview for all except the last image, because it forwards you at that point.
__________________
Wayne |
|
#10
|
|||
|
|||
|
Wow.... this is just an incredible help to users listing large quantity of images. Great work. Thanks so much!!
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Uploading photos page- change button name | zman78 | v3.0 Questions & Support | 11 | 08-11-2007 02:33 AM |
| 'Users Awating Email Confirmation� group. | SkGold | v3.1 Suggestions and Feedback | 2 | 07-18-2006 05:30 PM |
| Users able to upload photos in excess of package limit | civ | v3.0 Questions & Support | 2 | 06-02-2006 12:14 PM |