Swap Image

1,768 views
Skip to first unread message

chai...@gmail.com

unread,
Nov 17, 2015, 9:30:15 PM11/17/15
to Google Web Designer beta
Just wondering, is there a setting to change the default size when using "swap image"? It was working fine when I used it a around a week ago (it changes the image dimension to the new swapped image dimension). But right now, each time I swap an image, it changes the dimension to 20px x 23px. Any ideas on what's causing the problem?

Currently using GWD version 1.5.0.1117 by the way.

Google Web Designer beta

unread,
Nov 18, 2015, 1:09:17 PM11/18/15
to Google Web Designer beta
Hello,

Swapping image works this way. If you swap the original image with original dimensions (ex. 500x500), the new image will be placed with its original dimensions(ex.300x300). 
If the original image's dimensions are modified (ex. 400x400), the new image will be placed with the original image's modified dimensions (ex. 400x400).
This behavior should be the same as the previous build.
If that is not what you are seeing, please let us know.

Are you swapping a svg file?

Thanks,
Mariko (GWD team)

chai...@gmail.com

unread,
Nov 19, 2015, 4:49:34 PM11/19/15
to Google Web Designer beta
No, I was swapping mostly png files and around 2 svg files.

I did not modify the image dimensions of the original images, so it was quite weird that each time I swapped an image, it became 20x23px and I had to manually enter the image's dimension to fix it.

Quite time consuming since there was around 20 files that needed swapping.

Google Web Designer beta

unread,
Nov 19, 2015, 5:44:11 PM11/19/15
to Google Web Designer beta
Do you mind sending us your source files in a zip so that we can look into the issue?

Thanks,
Mariko (GWD team)

chai...@gmail.com

unread,
Dec 15, 2015, 11:25:09 PM12/15/15
to Google Web Designer beta
I've done dozens of ads since that one, but the problem never showed up again. I'll send you a zip if I ever encountered it again.

chai...@gmail.com

unread,
Dec 16, 2015, 7:15:07 PM12/16/15
to Google Web Designer beta
Finally discovered the bug that's causing it. This problem only occurs if the GWD files you're working on is inside a folder with a name containing an ampersand "&". Swap image will turn all swapped images into 20px x 23px if folder name contains "&".

Google Web Designer beta

unread,
Dec 17, 2015, 1:01:05 PM12/17/15
to Google Web Designer beta
Thank you for reporting the issue.
I was able to replicate what you were seeing in the swap image feature, and the bug will be reported internally.

Mariko (GWD team)
Reply all
Reply to author
Forward
0 new messages