Customizing SMF > Modifications and Packages

APImage

<< < (3/29) > >>

Inti31:
thx for the info i will give it it try tomorrow.

jquery-1.7.2.min.js - I have to save it to /Themes/default/scripts ? just to be sure...

What i mean:

in gallery mode I have to use the scrollbar (not sidebar, sorry) to scroll to pictures if there a more than 10 for example.

example:
now it looks like

pic1 pic2 pic3 ... ... ...                                                         pic x // all pics are in one line

I want to see all pictures whithout using the scrollbar
like
pic 1 pic 2 pic3 ... pic10 - // line1
pic 11 ... pic 20  // line 2

anteprimorac:
Find in index.css:

--- Code: ---.ap-image-gallery .images {
margin-top: 10px;
overflow: auto;
}
.ap-image-gallery .images .list {
width: auto;
white-space: nowrap;
}
.ap-image-gallery .images .ap-image {
display: inline-block;
margin: 0 5px;
}

--- End code ---

replace with:

--- Code: ---.ap-image-gallery .images {
margin-top: 5px;
overflow: none;
}
.ap-image-gallery .images .ap-image {
float: left;
margin: 5px 5px;
}

--- End code ---

Please send me feedback when you do this!


--- Quote from: Inti31 on April 19, 2012, 04:23:26 PM ---jquery-1.7.2.min.js - I have to save it to /Themes/default/scripts ? just to be sure...

--- End quote ---

Copy/paste code from http://code.jquery.com/jquery-1.7.2.min.js into /Themes/default/scripts/jquery.min.js

Inti31:
okay, thx first

quick answer...

So... - I did anges - now thumbs are shown in lines - nice

http://alt.epica-forum.de/index.php?topic=5.msg

Also (I use firefox) seem to have a script problem now because when clicking on a main pic and it zooms - firefox hangs - have to verify it which script - have to go now.

the main pic is oversized than before---

cheers inti31

anteprimorac:
Find in index.template.php:

--- Code: ---<script type="text/javascript" src="http://alt.epica-forum.de/Themes/default/scripts/jquery.min.js"></script>

--- End code ---

remove that!

Find in index.template.php:

--- Code: ---<script type="text/javascript" src="http://alt.epica-forum.de/Themes/default/scripts/jquery-1.3.2.min.js"></script>

--- End code ---

replace with:


--- Code: ---<script type="text/javascript" src="http://alt.epica-forum.de/Themes/default/scripts/jquery.min.js"></script>

--- End code ---

Inti31:
okay, did that

as mentioned yesterday evening I set the allowed resolution to 400x300

Have look to this: http://alt.epica-forum.de/index.php?topic=1.msg5#msg5

if I use img tag -  the width 7 height is set automatically

But now each  pic just in img tag is shown in thumbnail and when I zoom it, the resolution is wrong.
Above is the same pic is hs tag - this is fine

hmmh - thinking of modding your mod so that I just use the gallery mode.... - or maybe a suggestion just to activate the gallery seperately?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version