News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

APImage

Started by anteprimorac, April 18, 2012, 02:46:59 PM

Previous topic - Next topic

pixeleyes

Thanks but it doesn't work if use [ center ] [/ center ]

loplo

Quote from: loplo on May 23, 2012, 08:09:25 AM
Sounds like a great mod, but on my forum nothing is being shown, but blank rows.
Post here link.

I'm talking about this forum. At the moment the mod is not installed, because it will "hide" all the images.

pixeleyes

[ gallery ] [ /gallery ] code isn't working. Please check out this link.

Link

anteprimorac

Quote from: loplo on May 26, 2012, 09:51:44 AM
Quote from: loplo on May 23, 2012, 08:09:25 AM
Sounds like a great mod, but on my forum nothing is being shown, but blank rows.
Post here link.

I'm talking about this forum. At the moment the mod is not installed, because it will "hide" all the images.
If mod is not installed I'm not able to see where is the problem. Install latest version of mod and post here link to topic on your forum.

Quote from: pixeleyes on May 26, 2012, 07:00:58 AM
Thanks but it doesn't work if use [ center ] [/ center ]
It works but images aren't in row ;).

Quote from: pixeleyes on May 26, 2012, 09:55:15 AM
[ gallery ] [ /gallery ] code isn't working. Please check out this link.

Link
Install latest version of APImage and the problem will be solved.
My Mods:
APImage v0.3




Besplatni singlovi, doublovi, listići, ... svih sportova! - BalkanTips

ArkServer

Quote from: anteprimorac on May 23, 2012, 01:37:17 PM
This is working fine. Where is problem?

reinstalled it with a fresh copy and works :D

pixeleyes

#65
Quote from: pixeleyes on May 26, 2012, 09:55:15 AM
[ gallery ] [ /gallery ] code isn't working. Please check out this link.

Link
Quote
Install latest version of APImage and the problem will be solved.

After update gallery tag issue is solved but another problem start with images.
See the link below:
Link

Here's the setting:
Maximum thumb width                       650
Maximum thumb height                     9999

(above setting was working fine in old version)

Maximum gallery viewer height         600
Maximum gallery thumb width          80
Maximum gallery thumb height          80
Maximum show width                        0
Maximum show height                       0

2. I have replaced code but still scroll bar showing in gallery.

loplo

anteprimorac I can't stay long with the images not showing on the forum. Please tell me when do you have time to check (in GMT time) and I'll install the mod for 30 minutes.
Sorry for being such a PITA, but I can't keep the forum without images.

FYI, my installed mods are:
Pretty URLs, Soundcloud BBcode, Reason For Editing Mod, Google Analytics Code   1.4, Aeva Media, Simple Imageshack Upload Box, RSS Feed Poster 3.0.4, 9.   nCode Image Resizer 1.3.1, GoogAd Mod v.1.4   1.3, Tapatalk SMF 2.0 RC4/RC5/Final Plugin   3.0.1, reCAPTCHA for SMF   0.9.8a

anteprimorac

@pixeleyes:
I'm working on that problem ;)

@loplo:
APImage and nCode Image Resizer can not work together.
I'm online 17:00 to 22:00 (GMT) ;)
My Mods:
APImage v0.3




Besplatni singlovi, doublovi, listići, ... svih sportova! - BalkanTips

loplo

I'll give it a try and disable nCode. Let's see what happens.
I'll keep you posted.

pixeleyes

Thanks anteprimorac

There are some suggestions.

Regarding PREVIOUS and NEXT buttons, it will look more good if appear with mouseOVER.

Also Gallery BBCode button should be shown in post so user will know this and can use.


anteprimorac

@loplo:
OK

@pixeleyes:
You can change it in CSS ;)
In version 0.3 you will be able to use gallery tag with button
My Mods:
APImage v0.3




Besplatni singlovi, doublovi, listići, ... svih sportova! - BalkanTips

loplo

@anteprimorac nCode uninstalled, APImage enabled and installed.
Example of a thread with lots of images: http://forum.fly-ra.com/aeroporturi-civile-60/leipzighalle-(eddplej)/ and no joy :(

anteprimorac

@loplo:
Add before </head> in Themes/YOUR THEME/index.template.php :

// APImage
echo '
<script type="text/javascript">if(!window.jQuery || parseFloat($().jquery) < 1.7) document.write(unescape("%3Cscript src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js\"%3E%3C/script%3E"))</script>';
echo '<script language="javascript" type="text/javascript">
var APImage_options = {
"enabled": '.$modSettings['apimage_enabled'].',
"thumb_max_width":  '.(int) $modSettings['apimage_thumb_maxwidth'].',
"thumb_max_height":  '.(int) $modSettings['apimage_thumb_maxheight'].',
"gallery_viewer_max_height":  '.(int) $modSettings['apimage_gallery_viewer_maxheight'].',
"gallery_thumb_max_width":  '.(int) $modSettings['apimage_gallery_thumb_maxwidth'].',
"gallery_thumb_max_height":  '.(int) $modSettings['apimage_gallery_thumb_maxheight'].',
"show_max_width":  '.(int) $modSettings['apimage_show_maxwidth'].',
"show_max_height":  '.(int) $modSettings['apimage_show_maxheight'].'
};</script>
<script type="text/javascript" src="'.$settings['default_theme_url'].'/apimage.js"></script>';
My Mods:
APImage v0.3




Besplatni singlovi, doublovi, listići, ... svih sportova! - BalkanTips

loplo

Done, now I have the error you see.
Row 167: <script type="text/javascript">if(!window.jQuery || parseFloat($().jquery) < 1.7) document.write(unescape("%3Cscript src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js\"%3E%3C/script%3E"))</script>';

anteprimorac

Attach here index.template.php
My Mods:
APImage v0.3




Besplatni singlovi, doublovi, listići, ... svih sportova! - BalkanTips

loplo


pixeleyes

remove   echo '

after    // APImage

loplo

Removed, new error, line 180:</head>

anteprimorac

Put this instead of index.template.php
My Mods:
APImage v0.3




Besplatni singlovi, doublovi, listići, ... svih sportova! - BalkanTips

loplo

Done.
It works, I'll keep testing.
Thanks for now.

LE
while clicking on image, it's shown below the footer.

Advertisement: