News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

APImage

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

Previous topic - Next topic

anteprimorac

You have not installed the mod in your theme.

Find in 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>';


and remove it.

Reinstall mod and check to install mod in your theme.
My Mods:
APImage v0.3




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

loplo

Done, now it works.
Is there a way to skip the APImage in the signatures?

anteprimorac

In version 0.3 it will be possible ;)
My Mods:
APImage v0.3




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

loplo

One more thing.
Is there a way to keep the proportions of the thumbnail, if the image is bigger than "Maximum thumb width"? Or at least to crop the image in such way to keep it centered.
Example: http://forum.fly-ra.com/discutie-generala/test/msg2944/#msg2944

anteprimorac

That features will be in premium version of mod.
I'm working on premium version ;).
Premium version with ads will cost 6€ and 10€ without ads.
My Mods:
APImage v0.3




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

anteprimorac

Version 0.2.0.1:
! Fixed no defined maximum size bug
+ Improved image resizing algorithm

@pixeleyes:
I fixed your problem ;). Set maximum thumb height to 0
My Mods:
APImage v0.3




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

pixeleyes

Problem still exist.

Now only black background is showing instead of images.

already update to 0.2.0.1

anteprimorac

Everything works well. Do you clear browser cache?
My Mods:
APImage v0.3




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

pixeleyes

Just wanted to know when v 0.3 will be released?

anteprimorac

My Mods:
APImage v0.3




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

pixeleyes

Can you add watermark option in v0.3?

anteprimorac

My Mods:
APImage v0.3




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

loplo

anteprimorac, just confirm, are you able to watermark remotely hosted images?
That sounds pretty science fiction for me, but .... it would be great.

anteprimorac

Of course, I'm only able to display image with watermark. If you click on save image then you save original image, but in premium version that problem be also resloved ;)
My Mods:
APImage v0.3




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

lurkalot

Great mod, but I can't use it.  :'( 

I run a photography based website, and embed images in a poll (in the poll options) for our weekly competition.  Trouble is, when I install this mod, the images stop displaying in my poll. 

Is there a way to stop it doing this please, then I'll be able to use it.

anteprimorac

Post here link and list of mods you have installed.
My Mods:
APImage v0.3




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

lurkalot

Quote from: anteprimorac on June 02, 2012, 04:08:18 PM
Post here link and list of mods you have installed.

Thanks, it was my testsite I tried it on, here, http://cctestsite.info

Mods installed,

1. BBC [you] 1.3
2. Dream Menu 1.0.6
3. TinyPortal 1.107
4. Users Online Today 2.0.1
5. Cumulus Congestus 0.9.1
6. SimpleColorizer 1.1
7. FAQ Mod 1.2
8. Countdown BBCode 2.0.1
9. Vote polls with points 0.1.3
10. Spell Check Custom Words 1.3
11. Stop Spammer 2.3.9
12. Custom_Top_menu 1.4
13. Arcade Skin 2.5 RC1 1.0.0
14. NiceTooltips 1.7
15. SMF Arcade 2.5

anteprimorac

APImage isn't installed. Install mod then take a screenshot of problem and post here.
My Mods:
APImage v0.3




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

lurkalot

#98
Quote from: anteprimorac on June 03, 2012, 05:00:37 AM
APImage isn't installed. Install mod then take a screenshot of problem and post here.

Sorry, I un-installed it when I found it removed my poll images.  But, it's not doing what it did the first time I installed it.  Now my poll images display fine, until I turn the APImage mod off in config, then the poll images disappear.  See screengrabs 1 - 2 below

I also have a Tinyportal block on my home page which pulls the images in the poll options, and shows them on the front page, these images disappear when the mod is installed, enabled or disabled.  See screengrabs  pollblock1 & 2 below.

anteprimorac

Post here code that you use for the Poll block for frontpage.
My Mods:
APImage v0.3




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

Advertisement: