cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Change size of 2D image in 2D Panel

therealSy
10-Marble

Change size of 2D image in 2D Panel

Hi,

 

I'm trying to place a company logo in the 2D panel of my experience.  However, it won't let me resize the image or the image won't scale to suit the panel width.

 

I've seen another accepted answer in the forum that you can directly change the size of the image resource but I can't select it.  Where as all of the other widgets and setting in the left tool bar change the mouse icon to a finger and allow me to select them and change settings in the right tool bar, added resources don't allow me to select them and the cursor stays a text I-bar.

 

I am using a trial version so is this a locked out feature or am I doing something else wrong?

 

Thanks,

Sy

ACCEPTED SOLUTION

Accepted Solutions
sebben
13-Aquamarine
(To:therealSy)

Hi,

so you cant enter something for the height or width property?

It should be a number followed by 'px' or '%', e.g. 500px.

 

View solution in original post

4 REPLIES 4
sebben
13-Aquamarine
(To:therealSy)

Hi,

so you cant enter something for the height or width property?

It should be a number followed by 'px' or '%', e.g. 500px.

 

Sincere apologies.  that worked.  I was missing out the px.

 

The image has a white background.  Is there anyway to make that transparent?  i have tried setting the background property to "transparent" and also in CSS as follows

 

.my-image {
backgroundcolor: rgba(255, 255, 255, 0)
}

 

But it stays white.


Thanks!

sebben
13-Aquamarine
(To:therealSy)

The image needs to have a transparent background in order change the background color via css.

You can change the background with an image editing tool e.g. GIMP.

Fixed it.  Many thanks.  For reference that time I had deleted the bacground but the file was saved as a .jpg and not a .png

Announcements

Top Tags