Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Multiquote (on) Multiquote (off)
Add Reply
posts making the board look outta line and words under the pictures
Topic Started: May 4 2010, 11:23 AM (511 Views)
primadonna
Member
[ * ]
im getting Kích thước thật
under posted pictures on my site? i dont know what it means but when i press it the picture opens in a different tab , also some pictures that are posted are making the forum pages run over, how do i stop this happening, ive already changed the setting in admin for reducing the picture size and even though the pictures dont run over the page the page still goes outta line

http://s1.zetaboards.com/one_for_the_pot/index/
board link

http://s1.zetaboards.com/one_for_the_pot/topic/3276681/1/
This is an example of what i mean thank you
Offline Profile Quote Post Goto Top
 
Deleted User
Deleted User

primadonna
May 4 2010, 11:23 AM
im getting Kích thước thật
under posted pictures on my site? i dont know what it means but when i press it the picture opens in a different tab , also some pictures that are posted are making the forum pages run over, how do i stop this happening, ive already changed the setting in admin for reducing the picture size and even though the pictures dont run over the page the page still goes outta line

http://s1.zetaboards.com/one_for_the_pot/index/
board link

http://s1.zetaboards.com/one_for_the_pot/topic/3276681/1/
This is an example of what i mean thank you
The example doesn't help as we get the following error message

You do not have permission to access this topic.
Error Code: 4:5617139

It's very difficult to give support if we cannot view the board - If you don't want to open up the view for us to view, your best option would be to post a screen shot so we can see what you are referring to
Quote Post Goto Top
 
Jason
Member Avatar
Member
[ *  *  *  *  * ]
The code you added for the image resizing currently looks like this -
Code:
 
<script type="text/javascript">
//<![CDATA[
window.onload=(function() {
$("td.c_post img[alt='Posted Image']").each(function() {
if (this.width >= 500) {
$(this).wrap("<a href='" + this.src + "'></a>");
$(this).after("<br /><small><a href='" + this.src + "' class='view_full'>Kích thước thật</a></small>");
}
});
});
//]]>
</script>
<style type="text/CSS">
td.c_post img {
max-width: 500px;
</script>

Replace this line -
Code:
 
$(this).after("<br /><small><a href='" + this.src + "' class='view_full'>Kích thước thật</a></small>");

with this -
Code:
 
$(this).after("<br /><small><a href='" + this.src + "' class='view_full'>View full image</a></small>");

That will sort out the foreign text, as for the other issue, without being able to see it I can't really advise on that :)
Offline Profile Quote Post Goto Top
 
primadonna
Member
[ * ]
I added the other piece of code and it worked great thankyou so much, i actually dont know how to make or take a screen shot sorry, could someone advise me on what i need to do please

Posted Image

Finally got a screen shot
Edited by primadonna, May 6 2010, 03:05 PM.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards Support · Next Topic »
Add Reply