Galaxy Posted May 15, 2013 Share Posted May 15, 2013 what I need to do is add <a href="javascript:pixlr.overlay.show({image:'path/to/image.jpg', title:'image name'});"><img src="path/to/image.jpg" width="250" height="150" title="Edit in pixlr" /></a> around any images that are uploaded. So when you have an image in the admin side it can be edited via pixlr. I have successfully loaded the required scripts that this requires but need to know where to add the href wrapper (see above) if I can call it that. Link to comment Share on other sites More sharing options...
teppo Posted May 15, 2013 Share Posted May 15, 2013 Sounds like a job for a module. There's a ton of material about module development around here, such as this Wiki article, that could be helpful for you in case that you decide to put it together. Then again, have you tried installing PixlrEditor module (https://github.com/PawelGIX/PixlrEditor) yet? Sounds to me like it already does exactly what you want.. 1 Link to comment Share on other sites More sharing options...
Galaxy Posted May 15, 2013 Author Share Posted May 15, 2013 ...why didn't I see if something existed? Thanks dude, it works a treat. You are a legend! 1 Link to comment Share on other sites More sharing options...
Adam Kiss Posted May 17, 2013 Share Posted May 17, 2013 Moved this to module development, as it seems more appropriate. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now