Ecto preoload with custom function

Hi guys, I am a bit confused I am using Arc & Arc Ecto for image processing i have created many version of files but having problem to preload all the version url from the controller. currently it only return the default one with the original version.

sorry guys I am so stupid i could change it in the view. haven’t touch phoenix for quite sometime and got confused

I’m happy that you were able to solve your problem. But I were even more happy if you could copy and paste your code in the future, as many users (including me) are accessing this forum through mobile phones or via a mailing list like interface. For such users plain text/code is much more accessible than screenshots of code.

2 Likes

sorry will do that next time