Water Crystals
Junior Member
Those who make no mistakes, don't make anything
Posts: 431
inherit
137395
0
Nov 19, 2024 1:35:44 GMT -8
Water Crystals
Those who make no mistakes, don't make anything
431
February 2009
watercrystals
|
Post by Water Crystals on Dec 23, 2017 23:27:01 GMT -8
I have a banner just above the first board category that changes to another on mouse-over. This worked perfectly, but I decided to change the banner art. Anyway, I simply replaced the old image URLs with new ones and somehow the new images aren't showing at actual size. Images are exactly the same size as old ones and I've not changed any code so I'm confused.
Can someone please help me make the images their actual size? This is the code I'm using:
<a href="1ST PIC URL"><img src="1ST PIC URL" onmouseover="this.src='2ND PIC URL' " onmouseout="this.src='1ST PIC URL' "/></a>
|
|
inherit
96289
0
May 17, 2020 9:37:00 GMT -8
elli
1,822
January 2007
ebbymac
|
Post by elli on Dec 26, 2017 12:37:13 GMT -8
Can you link to your forum, please? It always helps to see the issue live.
|
|
Water Crystals
Junior Member
Those who make no mistakes, don't make anything
Posts: 431
inherit
137395
0
Nov 19, 2024 1:35:44 GMT -8
Water Crystals
Those who make no mistakes, don't make anything
431
February 2009
watercrystals
|
Post by Water Crystals on Dec 29, 2017 0:29:45 GMT -8
I'd rather not, as it's in Maintenance Mode and the RPG officially launches in a few days (I don't want it to be public until then) but this is what the banner issue looks like:
|
|
Water Crystals
Junior Member
Those who make no mistakes, don't make anything
Posts: 431
inherit
137395
0
Nov 19, 2024 1:35:44 GMT -8
Water Crystals
Those who make no mistakes, don't make anything
431
February 2009
watercrystals
|
Post by Water Crystals on Dec 30, 2017 0:51:18 GMT -8
Bump?
|
|
#e61919
Support Staff
224482
0
1
Nov 22, 2024 17:59:24 GMT -8
Scott
“Asking for help isn't giving up... it's refusing to give up.”
24,527
August 2015
socalso
|
Post by Scott on Dec 30, 2017 9:09:55 GMT -8
Water Crystals can provide a link to one of the previous images and a link to a current image.
|
|
Water Crystals
Junior Member
Those who make no mistakes, don't make anything
Posts: 431
inherit
137395
0
Nov 19, 2024 1:35:44 GMT -8
Water Crystals
Those who make no mistakes, don't make anything
431
February 2009
watercrystals
|
Post by Water Crystals on Dec 30, 2017 10:13:21 GMT -8
The previous image was hosted by Photobucket so it's impossible to get the link for that (which is part of why I had to update these banners on the site) but this is the link to the current image - hopefully that helps. The image that appears on mouse-over looks different but is the same size, style, file type, etc. I'd also like to point out that I use that image host for a lot of other pictures on the site and they're all high-quality and their actual size. This banner is the only time I've had an issue with their sizing. I'm really anxious about this issue, since the RPG launches on the 2nd and this banner is one of the first things they'll see. It gives important info but its current size makes it very hard to read the text on the mouse-overed image. I really appreciate any help you can give.
|
|
#e61919
Support Staff
224482
0
1
Nov 22, 2024 17:59:24 GMT -8
Scott
“Asking for help isn't giving up... it's refusing to give up.”
24,527
August 2015
socalso
|
Post by Scott on Dec 30, 2017 10:30:21 GMT -8
Water Crystals, The current image looks like it's displaying on the forum at it's full size. The reason I wanted to see the older image is to compare the two. While you think they're the same size, maybe something was different. Do you have any CSS anywhere that is targeting those images?
|
|
Water Crystals
Junior Member
Those who make no mistakes, don't make anything
Posts: 431
inherit
137395
0
Nov 19, 2024 1:35:44 GMT -8
Water Crystals
Those who make no mistakes, don't make anything
431
February 2009
watercrystals
|
Post by Water Crystals on Dec 30, 2017 23:08:50 GMT -8
At full size the image should fit across the full length above the categories. I'm so confused why this is happening because all I did was change the image links. I checked size of the original images (I still have them, but not the original link) and they were off by a few pixels and KB. So for the new images I'm trying to use - I edited, uploaded, and added - made no difference. Thinking about what you said, I tried uploading the original image and using that, but no it doesn't seem to matter which picture I use. As far as I know, nothing else targets the images. I use the "HTML Injections" plugin to add them, with the code shown in my first post of this thread. I haven't changed anything. Is there any HTML I can add that'll force it to display at full size or something? I do find it odd the images fit the board length perfectly, but not sure if that means anything. I've no idea what to do to fix this EDIT: I added a map on my site as a custom page and wanted the mouse-over effect so I used this code and...Same issue. The map is a big image and was scaled down to the exact size as the banner. So it seems any image (aside from the main site banner) if it's bigger than whatever size that scaled one is than it reduces it? Or just those used with this code?
|
|
Water Crystals
Junior Member
Those who make no mistakes, don't make anything
Posts: 431
inherit
137395
0
Nov 19, 2024 1:35:44 GMT -8
Water Crystals
Those who make no mistakes, don't make anything
431
February 2009
watercrystals
|
Post by Water Crystals on Jan 1, 2018 4:46:33 GMT -8
Bump?
|
|
inherit
96289
0
May 17, 2020 9:37:00 GMT -8
elli
1,822
January 2007
ebbymac
|
Post by elli on Jan 1, 2018 10:43:12 GMT -8
Let's move away from inline JavaScript and write a separate script to control this behavior. Can you share your images with me? And I'll pass back the full code for you to use.
|
|
Water Crystals
Junior Member
Those who make no mistakes, don't make anything
Posts: 431
inherit
137395
0
Nov 19, 2024 1:35:44 GMT -8
Water Crystals
Those who make no mistakes, don't make anything
431
February 2009
watercrystals
|
Post by Water Crystals on Jan 3, 2018 4:19:13 GMT -8
Okay, so in case anyone else has this issue - elli suggested this: And it worked! My banner is now showing perfectly and at the size I intended (it's full size) so thank you so much! This issue is now resolved.
|
|