Hey Allistair and Robert - thanks for sharing - that’s great feedback!
We definitely want to make cropping images easier.
In the interim, for any community folks that aren’t aware, you can go into the page builder, and you can set a button’s appearance to an image. From there, in the button’s properties, you can set the button to Òpass URL parameters."
Feel free to take a gander at this screencast I made here http://screencast.com/t/3hWhXujZzK.
Thanks Lou! That is great!
The only issue now is that if you want to resize the image, it crops it and you cannot adjust the mask. Is it possible to enable that so that you can resize the button and the image within it to preserve the correct masking?
Hey Allistair!
I hear you, my suggestion doesn’t solve the trouble with cropping. That’s something we want to improve on.
As an alternative, I’d suggest sticking with images so you can mask. From there, you can drop this script in the JavaScript button.
<br /> $(function() {<br /> $('.lp-pom-image a, .lp-pom-text a').not('a.href^=#]').each( function() {<br /> this.href = this.href + window.location.search;<br /> });<br /> });<br />
That should let you pass URL parameters from images. Could that work for you? Let me know!
Thanks Lou. Can that be added via the scripts manager so that it works on all pages?
Hey Alistair,
We haven’t tested this, but you should be able to use this in scripts manager without any issue. Let us know how it works out for you!
Thanks! Where in the page do you suggest? Head, before body, after body?
The head should be fine, but again we haven’t tested this out. If you aren’t able to get this working, we’d be happy to dive in and help you directly - just shoot us an email at support@unbounce.com
Thanks!