Advertisement:

Author Topic: APImage  (Read 51817 times)

Offline loplo

  • Semi-Newbie
  • *
  • Posts: 69
Re: APImage
« Reply #120 on: July 24, 2012, 02:56:16 PM »
Thanks, works pretty good.
Question:
- how to replace watermarks? I've changed the default ones in /Packages/apimage/apimage/ bot won't change. nevermind, wrong location.
- how to "Turn off APImage on a single image"?
« Last Edit: July 24, 2012, 03:07:51 PM by loplo »

Offline anteprimorac

  • Jr. Member
  • **
  • Posts: 278
  • Gender: Male
    • anteprimorachr on Facebook
    • @anteprimorac on Twitter
    • AntePrimorac.from.hr
Re: APImage
« Reply #121 on: July 24, 2012, 03:20:21 PM »
Answare is in FAQ:
6. How to turn off APImage on a single image?
Set "off" parameter to "true":
Code: [Select]
[img off=true width=200 height=200]http://image.com/link.jpg[/img]
My Mods:
APImage v0.3




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

Offline loplo

  • Semi-Newbie
  • *
  • Posts: 69
Re: APImage
« Reply #122 on: July 26, 2012, 01:35:03 AM »
Still can't replace the watermark. Were exactly are located the watermark .PNGs?

Offline anteprimorac

  • Jr. Member
  • **
  • Posts: 278
  • Gender: Male
    • anteprimorachr on Facebook
    • @anteprimorac on Twitter
    • AntePrimorac.from.hr
Re: APImage
« Reply #123 on: July 26, 2012, 10:36:39 AM »
Images:
thumb watermark: Themes/YOUR THEME/images/apimage/watermark.png (32x28)
gallery thumb watermark: Themes/YOUR THEME/images/apimage/small-watermark.png (18x16)
gallery viewer and show watermark: Themes/YOUR THEME/images/apimage/big-watermark.png (64x55)

CSS (Themes/YOUR THEME/css/apimage.css):
thumb watermark: find ".apimage .watermark div"
gallery thumb watermark: find ".apimage-gallery .images .list .apimage .watermark div"
gallery viewer watermark: find ".apimage-gallery .viewer .watermark div"
show watermark: find ".apimage-show .watermark div"

YOUR THEME - your current active theme or default theme
My Mods:
APImage v0.3




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

Offline loplo

  • Semi-Newbie
  • *
  • Posts: 69
Re: APImage
« Reply #124 on: July 26, 2012, 11:39:25 AM »
I've replaced the PNGs, but still the "ap" is being shown.
For the second part, there's no apimage.css in Themes/mytheme/css/

Offline anteprimorac

  • Jr. Member
  • **
  • Posts: 278
  • Gender: Male
    • anteprimorachr on Facebook
    • @anteprimorac on Twitter
    • AntePrimorac.from.hr
Re: APImage
« Reply #125 on: July 26, 2012, 12:00:28 PM »
Clear cache in browser.
maybe Themes/default/css/apimage.css
My Mods:
APImage v0.3




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

Offline loplo

  • Semi-Newbie
  • *
  • Posts: 69
Re: APImage
« Reply #126 on: July 26, 2012, 12:19:30 PM »
default/css/apimage.css is there and I think no editing nedded.
I had to replace the images in Themes/default/images/apimage/
It's tricky because the watermark PNGs are present in too many locations.
One more question - is there a way to remove the effect while moving the mouse above the image? It's like loss of focus and it's annoying.

Offline anteprimorac

  • Jr. Member
  • **
  • Posts: 278
  • Gender: Male
    • anteprimorachr on Facebook
    • @anteprimorac on Twitter
    • AntePrimorac.from.hr
Re: APImage
« Reply #127 on: July 26, 2012, 12:30:39 PM »
Find in apimage.css:
Code: [Select]
.apimage:hover .hover {
display: block;
}
and remove it.

Version 0.3.1
! Fixed gallery button description bug in SMF 2.x.x - thx rambomambo
+ Added mod description in css file
My Mods:
APImage v0.3




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

Offline loplo

  • Semi-Newbie
  • *
  • Posts: 69
Re: APImage
« Reply #128 on: July 26, 2012, 12:47:34 PM »
It deletes the watermark too, so no joy. I'm talking about that layer that appears over the image and changes opacity.

LE
I've forgot to delete on }, now the watermark is displayed but the opacity is still there.

Offline anteprimorac

  • Jr. Member
  • **
  • Posts: 278
  • Gender: Male
    • anteprimorachr on Facebook
    • @anteprimorac on Twitter
    • AntePrimorac.from.hr
Re: APImage
« Reply #129 on: July 26, 2012, 01:14:12 PM »
Find in apimage.css:
Code: [Select]
.apimage .hover {
display: none;
position: absolute;
opacity: .8;
background: rgba(0, 0, 0, .4) url(../images/apimage/enlarge.png) center center no-repeat;
z-index: 5;
}
replace with:
Code: [Select]
.apimage .hover {display: none}
after that clear your browser cache.
My Mods:
APImage v0.3




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

Offline Kanado

  • Newbie
  • *
  • Posts: 3
Re: APImage
« Reply #130 on: August 29, 2012, 05:02:08 AM »
Firstly great Mod  :)

I have a Question regarding the arrows (left & right) on the gallery mode.

My Forum have a fixed width, so i have the css style ".apimage-gallery .viewer" width 100% changed to width: 83%.
The Image will now displayed right without oversized and scrollbar. But the arrows are on the image instead out of image.

How can i do this, that the arrows will displayed out of image ?

Thanks for any help

Offline anteprimorac

  • Jr. Member
  • **
  • Posts: 278
  • Gender: Male
    • anteprimorachr on Facebook
    • @anteprimorac on Twitter
    • AntePrimorac.from.hr
Re: APImage
« Reply #131 on: August 29, 2012, 07:52:01 AM »
In apimage.css find:
Code: [Select]
.apimage-gallery {add after:
Code: [Select]
width: 83%
and change ".apimage-gallery .viewer" width to "100%".
My Mods:
APImage v0.3




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

Offline Kanado

  • Newbie
  • *
  • Posts: 3
Re: APImage
« Reply #132 on: August 29, 2012, 12:50:25 PM »
Thanks, but has no effect on the arrows. I have no idea... :(
« Last Edit: August 30, 2012, 05:15:59 AM by Kanado »

Offline anteprimorac

  • Jr. Member
  • **
  • Posts: 278
  • Gender: Male
    • anteprimorachr on Facebook
    • @anteprimorac on Twitter
    • AntePrimorac.from.hr
Re: APImage
« Reply #133 on: September 03, 2012, 01:49:27 PM »
Post here link of your forum.
My Mods:
APImage v0.3




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

Offline Costa

  • SMF Hero
  • ******
  • Posts: 3,045
  • Gender: Male
  • Do NOT feed the trolls...
Re: APImage
« Reply #134 on: September 06, 2012, 02:33:21 AM »
./Themes/default/languages/Modifications.portuguese_pt.php
Code: [Select]
// APImage
$txt['apimage_enabled'] = 'Ligar APImage';
$txt['apimage_watermark_enabled'] = 'Ligar marca d'água';
$txt['apimage_thumb_maxwidth'] = 'Largura máxima das miniaturas<br /><span class="smalltext">Deixe em branco ou coloque "0" para desabilitar isto.</span>';
$txt['apimage_thumb_maxheight'] = 'Altura máxima das miniaturas<br /><span class="smalltext">Deixe em branco ou coloque "0" para desabilitar isto.</span>';
$txt['apimage_thumb_watermark'] = 'Ligar marca d'água em miniaturas';
$txt['apimage_gallery_viewer_maxheight'] = 'Altura máxima da Galeria<br /><span class="smalltext">Deixe em branco ou coloque "0" para desabilitar isto.</span>';
$txt['apimage_gallery_viewer_watermark'] = 'Ligar marca d'água na Galeria';
$txt['apimage_gallery_thumb_maxwidth'] = 'Largura máxima das miniaturas da Galeria<br /><span class="smalltext">Deixe em branco ou coloque "0" para desabilitar isto.</span>';
$txt['apimage_gallery_thumb_maxheight'] = 'Altura máxima das miniaturas da Galeria<br /><span class="smalltext">Deixe em branco ou coloque "0" para desabilitar isto.</span>';
$txt['apimage_gallery_thumb_watermark'] = 'Ligar marca d'água em miniaturas da Galeria';
$txt['apimage_show_maxwidth'] = 'Largura máxima da visualização<br /><span class="smalltext">Deixe em branco ou coloque "0" para desabilitar isto.</span>';
$txt['apimage_show_maxheight'] = 'Altura máxima da visualização<br /><span class="smalltext">Deixe em branco ou coloque "0" para desabilitar isto.</span>';
$txt['apimage_show_watermark'] = 'Ligar marca d'água na vizualização';

./Themes/default/languages/Post.portuguese_pt-utf8.php
Code: [Select]
// APImage
$txt['apimage_gallery_txt'] = 'Inserir Galeria';


./Themes/default/languages/Modifications.portuguese_pt-utf8.php
Code: [Select]
// APImage
$txt['apimage_enabled'] = 'Ligar APImage';
$txt['apimage_watermark_enabled'] = 'Ligar marca de &#225;gua';
$txt['apimage_thumb_maxwidth'] = 'Largura m&#225;xima das miniaturas<br /><span class="smalltext">Deixe em branco ou coloque "0" para desabilitar isto.</span>';
$txt['apimage_thumb_maxheight'] = 'Altura m&#225;xima das miniaturas<br /><span class="smalltext">Deixe em branco ou coloque "0" para desabilitar isto.</span>';
$txt['apimage_thumb_watermark'] = 'Ligar marca de &#225;gua em miniaturas';
$txt['apimage_gallery_viewer_maxheight'] = 'Altura m&#225;xima da Galeria<br /><span class="smalltext">Deixe em branco ou coloque "0" para desabilitar isto.</span>';
$txt['apimage_gallery_viewer_watermark'] = 'Ligar marca de &#225;gua na Galeria';
$txt['apimage_gallery_thumb_maxwidth'] = 'Largura m&#225;xima das miniaturas da Galeria<br /><span class="smalltext">Deixe em branco ou coloque "0" para desabilitar isto.</span>';
$txt['apimage_gallery_thumb_maxheight'] = 'Altura m&#225;xima das miniaturas da Galeria<br /><span class="smalltext">Deixe em branco ou coloque "0" para desabilitar isto.</span>';
$txt['apimage_gallery_thumb_watermark'] = 'Ligar marca de &#225;gua em miniaturas da Galeria';
$txt['apimage_show_maxwidth'] = 'Largura m&#225;xima da visualiza&#231;&#227;o<br /><span class="smalltext">Deixe em branco ou coloque "0" para desabilitar isto.</span>';
$txt['apimage_show_maxheight'] = 'Altura m&#225;xima da visualiza&#231;&#227;o<br /><span class="smalltext">Deixe em branco ou coloque "0" para desabilitar isto.</span>';
$txt['apimage_show_watermark'] = 'Ligar marca de &#225;gua na vizualiza&#231;&#227;o';

./Themes/default/languages/Post.portuguese_pt-utf8.php
Code: [Select]
// APImage
$txt['apimage_gallery_txt'] = 'Inserir Galeria';
Hugo "Costa" Fernandes
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

Offline anteprimorac

  • Jr. Member
  • **
  • Posts: 278
  • Gender: Male
    • anteprimorachr on Facebook
    • @anteprimorac on Twitter
    • AntePrimorac.from.hr
Re: APImage
« Reply #135 on: September 11, 2012, 06:11:39 AM »
@Costa thank you ;)
My Mods:
APImage v0.3




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

Offline Dutchi00

  • Semi-Newbie
  • *
  • Posts: 16
Re: APImage
« Reply #136 on: November 09, 2012, 11:10:42 PM »
How do I delete the advertisements?

Offline anteprimorac

  • Jr. Member
  • **
  • Posts: 278
  • Gender: Male
    • anteprimorachr on Facebook
    • @anteprimorac on Twitter
    • AntePrimorac.from.hr
Re: APImage
« Reply #137 on: November 11, 2012, 04:07:19 AM »
currently it is not possible
My Mods:
APImage v0.3




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

Offline apkandroid.pl

  • Newbie
  • *
  • Posts: 8
Re: APImage
« Reply #138 on: January 28, 2013, 10:26:35 AM »
I do not see why e.g. hxxp:lh4.ggpht.com/gS1CUCx7ZK11okItYN_NXBzqNvNFTnWIlni2d7K97cASRSLorILP42ZXVnBYWvKefcg=h230 [nonactive] ? must be an extension?

Offline vietravel247.com

  • Semi-Newbie
  • *
  • Posts: 66
  • Gender: Male
  • Chao mung ban den voi hoidulich.com
    • http://facebook.com/hoidulich on Facebook
    • @vietravel247 on Twitter
    • Hội du lịch Việt Nam
Re: APImage
« Reply #139 on: January 30, 2013, 08:51:43 PM »
hi  anteprimorac,
Thanks for your mod, I'll installed it for my forum (http://hoidulich.com) but don't loading image or loading slowly? What's wrong with this? Please help. Thank you very much.
PS:
Error with image source like this: http://domain.com/ImageView.aspx?ThumbnailID=612740 it ok if image source like http://domain.com/abc.jpg/gif/png.  (http://hoidulich.com/index.php?topic=40061.msg55369;topicseen#msg55369)
« Last Edit: January 30, 2013, 11:00:27 PM by vietravel247.com »