RealTimeDesigner Support Network
Wiki Forums Libraries Docs Support RealTimeDesigner Home
Welcome! Log In Create A New Profile

Advanced

FG image not working

Posted by NSFGraphics 
FG image not working
March 17, 2017 11:22AM
My understanding of the FG image under side settings is that uploaded text/images fall behind the FG image. Currently, our uploaded text/images fall on top of the FG image. See pics below.



Re: FG image not working
March 17, 2017 04:57PM
That really should not be. FG mask is applied on TOP of everything. You totally sure you've uploaded your mask file as a FG and not as a BG?
Seeing which image you tried to upload would also help.
In general, an FG image should just be an image as big as the whole design with transparency in the areas you'd like users to be able to draw
Re: FG image not working
March 21, 2017 08:40AM
Alex,
I am positive that I uploaded a foreground image with a transparency in the middle in the shape of our product.
Re: FG image not working
March 21, 2017 08:55AM
The I need to see the product. Can you provide a link, or at least the full name of the product so that I can find it in your admin panel?
Re: FG image not working
March 21, 2017 09:44AM
Here's the link to this specific product, but it is happening on pretty much all products.

http://designer.realtimedesigner.com/northstarflags/index.php&tng=Y3BpPTc5NjAzJmNwaXM9MzMwODkx
Re: FG image not working
March 21, 2017 10:57AM
Found it.

You caused an issue in your HEADER CODE FOR DESIGNER. Specifically, this style block you have on top:
#userbuttons_addtext, #userbuttons_addshape, #userbuttons_addclip, #userbuttons_undo, #userbuttons_redo, #userbuttons_cleardesign, 
#userbuttons_indesigner, #userbuttons_addcustomclip, #userbuttons_managedesigns, .images_all_fg_class{
z-index:1;
}
1st of all, having style blocks in header that affects the designer can be very risky. But here, you problem is you reassigned the z-index (which is basically the "layer") of the images_all_fg_class.
In short, your style pushed the FG mask layer of the designer down to ground level, just as if it was the BG image.
So, to solve your issue, just remove the images_all_fg_class entry from your code
Re: FG image not working
March 21, 2017 02:39PM
That did it, thanks!
Sorry, only registered users may post in this forum.

Click here to login