You did?Coroner wrote:I pm'd you and account that you can check the acp with.
Lightbox Implementation
Moderator: Experts
Yes I sleep
One thing that I hate about the attachment mod package from phpBB is that the files directory doesn't have a thumbs directory in it. Most servers will show the error but yours is suppressing the error. Must not be set in php.ini to display the errors. Anyhow create a thumbs directory in the files directory and I'm pretty sure the thumbnails will start getting created.
One thing that I hate about the attachment mod package from phpBB is that the files directory doesn't have a thumbs directory in it. Most servers will show the error but yours is suppressing the error. Must not be set in php.ini to display the errors. Anyhow create a thumbs directory in the files directory and I'm pretty sure the thumbnails will start getting created.
The original picture is small. Based on the settings you have for thumbnails it's going to create a thumbnail for all pictures you attach (which it seems you have increased the size of the thumbnail as well by editing one of the attachment mod files) be it small or large so it's working as designed.
Another dumb question but how can I lower the size of the thumbnail so the small pic shows first then converts to the larger nomal size on click.DavidIQ wrote:The original picture is small. Based on the settings you have for thumbnails it's going to create a thumbnail for all pictures you attach (which it seems you have increased the size of the thumbnail as well by editing one of the attachment mod files) be it small or large so it's working as designed.
I don't remember editing very many of the attachment mod files other then what was required to install the Edit Attachment Mod?
Please let me know
Open attach_mod/includes/functions_thumbs.php, find $max_width = 400; and change it to 100 maybe. This might still make the thumbnail bigger than the actual picture so you'll have to play with the value of max_width. The point of thumbnails was to create a clickable thumbnail in the case that the image was too big to fit in the post...
Hi Dave, This is Art again and I have somewhat of a different problem with the lightbox mod I hope you will help me with. Coroner shows the following in his Special Categories and I do not?DavidIQ wrote:Coroner wrote:DavidIQ wrote:Let me guess...you didn't change the Minimum Thumbnail Filesize to something lower than 12000 and you uploaded a file that's probably 5000...
Display Images Inlined = yes
Create Thumbnail = yes
Minimum Thumbnail Filesize = 50
Make use of GD2 Extension = no
Imagick Program (Complete Path) = blank
Maximum Image Dimensions = 0x0
Image Link Dimensions = 0x0
I only have the following in the Special Categories;
Display Images Inlined = yes
Imagick Program (Complete Path) = blank
Maximum Image Dimensions = 0x0
Image Link Dimensions = 0x0
There is no mention to Thumbnails at all? I also edited the following files as per the instructions at beginning of thread.
displaying.php
overall_header.tpl
viewtopic_attach_body.tpl
I then closed down my browser, reopened and linked back to the phpBB2 main page and Admin. page. No mention of Thumbnails at all the the Special Categories?
Please, Help!!!!!!! Again! LOL
Art
Hey David, would you mind if I submitted this to phpbbhacks? I made some very few adjustments and put together what looks like a clean zip file with instructions.
Here's what I have put together. Please look it over and tell me what you think. I have uninstalled and reinstalled this several times and tested it with several templates and it has worked each time.
Here's what I have put together. Please look it over and tell me what you think. I have uninstalled and reinstalled this several times and tested it with several templates and it has worked each time.
- Attachments
-
- Lightbox_phpbb2.zip
- (71.37 KiB) Downloaded 671 times
Seems fine to me though the directory structure is incorrect in the copy command. The actual folder you seem to be including is "Light_phpbb2 setup files" but on the installation instructions you have "lightbox_phpbb2" under the copy command not to mention the command is a bit off. It's just like Windows... copy <source> <destination>