Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
Auto-Scale Pictures! (1 viewing) (1) Guest
Go to bottom Favoured: 3
TOPIC: Auto-Scale Pictures!
#47525
Re:Auto-Scale Pictures! 6 Months, 3 Weeks ago  
This is a copy of the MultiThumb FAQ for those that seem to not want to go to the devs homepage and read it there. This is what I used.
FAQ
[Read this first in case of problems!]

Many times problems are caused by people having code from Lightthumb in the index.php file. You can easily test that by opening the page source in your browser and search for the word "lightthumb". If these lines are present, you must remove them from your template index.php.
[How do I use Multithumbfor Joomla?]
You just insert any picture in the content you are working with. You can work with normal images put directly in content, or with images. See the section Simple thumbnail and popup.

Note: It is important that Multithumbfor Joomla comes before MosImage in the mambot list.
[Can Multithumb also work with mosimage tags?]

Yes, just make sure the option "Handle normal images or " is set to Both. If you only want it to work with , select only. Or Normal pictures only if you don't want it to process tags.
[The images are large, can I resize them in the editor?]

Yes, you can make them smaller for your convenience. It does not affect the size in the frontend.

If you want to change the size of the resulting images or the thumbnails, go to the mambot backend and change the appropriate options. See the section Resing images and Setting the thumbnail size.
[Can I decide on which pages Multithumb should work?]

Certainly! There are several possibilities depending on what you want:

* If only want Multithumb to work on a few pages, select "Apply only to content with {multithumb}". Then insert the {multithumb} tag somewhere on these pages.
* If only want Multithumb to work on most but not all pages, select "Exclude pages with {nomultithumb}". Then insert the {nomultithumb} tag somewhere on the pages you don't want do include.
* If you want to use Multithumbfor Joomla only in certain categories, list these categories in the field "Only in these categories". Put a semicolon between each category (no spaces!). Example: news;tech;gallery
* If you want to use Multithumbfor Joomla in all but a few categories, list these categories in the field "NOT in these categories". Put a semicolon between each category (no spaces!). Example: intro;business
* If you want it to work on just a few images on a given page, but not the rest, use the option "Apply only to these classes" and write the class name or names you want it to process. Separate more class names with space.
* Finally, you can tell Multithumbfor Joomla to ignore individual images by prefixing the alt text with "mt_ignore:". Example: "mt_ignore:this is is the real alt text". This also works with

[How do I override the default popup method]

You can mix the different popup methods by adding a prefix to the description (alt text), thus overriding the default popup style.

mt_none:
No popup

mt_popup:
Normal popup

mt_lightbox:
Lightbox popup

mt_expand:
Thumbnail expansion

mt_ignore:
This will let the image pass unprocessed

You must include the colon, like mt_lightbox:my image caption

With Multithumbfor Joomla 2.0 you can also use parameter override , like {multithumb popup_type=greybox}
[How do I make a photo gallery with Multithumbfor Joomla?]

Just include any image from the folder you wish to base the gallery on. Then give the image the description (alt text) mt_gallery. This tells Multithumb to create the gallery. Please note that if you have many pictures in the folder, it might take quite some time to generate the thumbnails the first time you view the page. Afterwards, it will load fine.

You can name the gallery by using the form mt_gallery:gallery name. Then the gallery name will show up in the lightbox popups. (Not in normal popups). Remember to put a gallery name after the colon or it might not work!

By using the option "Number of gallery columns" you can select how many thumbs across you want.

If you have many pictures but only want to show one or a few of them as thumbs, go to the mambot interface and select a value for "max. lightbox thumbnails". For example, you might have 25 pictures in the gallery, but you only want to show thumbs for the first three. When people click on of the three thumbs, they will still be presented with the full gallery!

Note that the galleri function works best with lightbox, slimbox and greybox popups, but it can also be fine with normal popup.

See also Creating an automatic gallery .
[I have both portrait and landscape thumbnails and the gallery does not look pretty!]

Insert this style declaration in the field called CSS styling in the admin interface for Multithumb:

td.multithumb {
text-align:center;
vertical-align: middle;
padding: 5px !important;
}

The code above applies to the auto gallery function only.
[How do I put some vertical space between the icons in the gallery?]

See the faq entry above, "I have both portrait and landscape thumbnails and the gallery does not look pretty!"
[How do I group lightbox images in a set?]

You give the images the same description (alt text). For example, images with the desciption "my holiday" will show up in the same lightbox set. This means that people will be able to browse the pictures in the set by pressing Next and Prev. See the section Image sets .
[My page looks strange. Some elements are on top of the lightbox!]

This should be fixed with Multithumbfor Joomla 2.0 !

The problem is caused by flash content not obeying the so-called z-index. If you are tech minded, here is some info.

Maybe I will implemtent the fix in a future version.

Multithumbfor Joomla uses this Lightbox library so please follow the link for more info.
[How do I change the font and color of the caption etc?]

Go to the field "CSS styling" and change the styles for div.mtCapStyle (means Multithumb Caption Style). For example, to change the color of the caption text to red, use font: red;
[How do I put a border around the thumbs?]

Multithumbfor Joomla 2.0 has a 2px black border by default. If you don't want that, go to the field "CSS styling" in the backend. Setting the border style to none will remove the borders:

Change border: 2px solid black; to border: none;
[My thumbnails don't look quite right!]

They probably just need to be refreshed. Please select the backend option "Clear cache on next page load".
[There is no popup. I just get the image in its original size when I click on it]

Your template index.php is probably missing the mosShowHead() call in the header part.

If it's missing, please include this piece of code in the header between the and tags:



Alternatively, the index.php might include this line which is an older way of doing it (and still valid):



Another reason could be that you have enabled caching in Joomla. It this case the backend menu item System > Clean all caches will probably help. Also make sure to clean the browsers cache!
[The small icons in the lightbox popup are missing or wrong]

This problem should be fixed in Multithumbfor Joomla 2.0 !
[I get only white pages when I use Multithumbfor Joomla]

This can be caused by mainly to problems:

* The needed graphics libraries are missing (GD2).
* The memory limit is to small

Try inserting this line in the top of multithumb.php just after popup text you will see if you hold the mouse pointer over the images.

Multithumb use the description to mark the images. For example, to tell it that a given image is a lightbox popup regardless of the default setting, prefix the description with mt_lightbox: including the colon. For example, the full desciption would be mt_lightbox:real caption here.

The prefix is not shown on your page!
grumblemarc (User)
Platinum Boarder
Posts: 3557
graph
User Offline Click here to see the profile of this user
Gender: Male
Logged Logged
 
The administrator has disabled public write access.  
#47705
Re:Auto-Scale Pictures! 6 Months, 3 Weeks ago  
alexoudis (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#56821
Re:Auto-Scale Pictures! 1 Month, 2 Weeks ago  
can I make this only work on forums I can't seem to make it scale images on my forums
chatchie (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#56828
Re:Auto-Scale Pictures! 1 Month, 2 Weeks ago  
I'm guessing you didn't read the FAQ that was posted. It tells you how.
grinchy (User)
Senior Boarder
Posts: 355
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#56854
Re:Auto-Scale Pictures! 1 Month, 2 Weeks ago  
Well even when I tell it to work on all pages the forums remain unaffected by it.
chatchie (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#56859
Re:Auto-Scale Pictures! 1 Month, 2 Weeks ago  
It is still listed as a beta. Possibly something has changed in the bot's code.
grinchy (User)
Senior Boarder
Posts: 355
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#56887
Re:Auto-Scale Pictures! 1 Month, 2 Weeks ago  
I would like to get this to work forum only.

Do I put {multithumb} in to the fireboard code somewhere?
jasonrhl (User)
Junior Boarder
Posts: 52
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#56901
Re:Auto-Scale Pictures! 1 Month, 2 Weeks ago  
Thats what ive been trying to figure out also. But the fact is it should affect the forums when its set to affect the whole site and it does not. That leads me to think that it is not working with the newer version of Fireboard.
chatchie (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#56913
Re:Auto-Scale Pictures! 1 Month, 2 Weeks ago  
I have it working in the fireboard forum 1.4 on joomla 1.5

How did you try to make it for forum only previously to work?

I doubt if it has ever worked forum only.
jasonrhl (User)
Junior Boarder
Posts: 52
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/08/25 02:33 By jasonrhl.
 
The administrator has disabled public write access.  
#56914
Re:Auto-Scale Pictures! 1 Month, 2 Weeks ago  
Of course it did. It isn't working any longer. And when it did it slowed your forum down to a crawl. Probably why not very many are using it on FireBoard any longer.
grinchy (User)
Senior Boarder
Posts: 355
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
Go to top