[Help] Can anyone help with room ads? [Plus Emu]
Hey all just wondering if anyone knows how to get this to show an image? Or can point me to the right direction as previous tutorials do not seem to work for me as I dont know what i am doing wrong. Sorry for the noobish post but any help is appreciated.
https://i.imgur.com/tvMlCKU.png
Many Thanks.
Re: [Help] Can anyone help with room ads? [Plus Emu]
Wat have you tried yet?
As I noticed, room ads are very sensitive.
- Was your image stored on the host?
- Did you use http or https?
- Did the link end with .png/.gif/.jpeg/.jpg (I think these are all compatible). (If the url ended with 'img.png?size=small' or similar, it could not work)
Re: [Help] Can anyone help with room ads? [Plus Emu]
I tried with images hosted on my wwwroot and through imgur. I tried http and https and i tried .png .jpg and .gif and still couldn't get it to work?
Re: [Help] Can anyone help with room ads? [Plus Emu]
And does the ads_bg furni work? (The one without borders)
Re: [Help] Can anyone help with room ads? [Plus Emu]
Again i get the same issue with any of the ads?
Re: [Help] Can anyone help with room ads? [Plus Emu]
Do the changes actually save? Are the changes applied in the database?
Re: [Help] Can anyone help with room ads? [Plus Emu]
I cant seem to find it on the database, do i need something like a room_ads table?
- - - Updated - - -
Correction i have this : https://i.imgur.com/KSZgnGO.png
Re: [Help] Can anyone help with room ads? [Plus Emu]
Data looks right, I have no clue what else the problem could be.
You'll have to wait for someone else to reply I fear...
Re: [Help] Can anyone help with room ads? [Plus Emu]
thanks for trying dude. not sure if i am missing anything in the database but i'll keep trying i guess.
Re: [Help] Can anyone help with room ads? [Plus Emu]
Managed to fix it, all yuo have to do is take the http: part out and link it like "//url/image.png"
Re: [Help] Can anyone help with room ads? [Plus Emu]
But external links like imgur wont show, any ideas?
Re: [Help] Can anyone help with room ads? [Plus Emu]
Any console error? Like crossdomain.xml or something.
Also, you can write a simple php script to workaround crossdomain
yoururl.com/thisfilename.php?url=imgur.com/image.png
PHP Code:
<?php
$imgUrl = $_GET['url'];
if(!empty($imgUrl))
{
header ('Content-Type: image/png');
$image = imagecreatefromstring(file_get_contents('http://'.$imgUrl));
imagesavealpha($image, true);
imagepng($image);
imagedestroy($image);
}
?>
Re: [Help] Can anyone help with room ads? [Plus Emu]
No console errors, Thanks for crossdomain code will give this a try :)
- - - Updated - - -
Script did not work, no idea why this still doenst work. I cant find any errors with crossdomain.