ps:  Regarding the second point/question I posed in my previous reply, I 
just noticed the way to prevent loading the core-image src from browser 
cache.  I noted that the demo examples for core-image appends the following 
to the src location in order to force a refresh of the image:

"?" + Math.random();

Fair to assume that is the best practice?

Kelly


On Saturday, January 24, 2015 at 10:32:46 AM UTC-8, [email protected] 
wrote:
>
> I agree that the core-image docs could be improved a little, as well as 
> possibly some additional features.  One useful feature to introduce might 
> be a new attribute that forces the load/preload process to wait for the src 
> image file to actually exist (perhaps with a mandatory timeout).  This is 
> useful when a separate server-side process is dynamically creating the 
> image file(s) which you are trying to display.  Not sure if there is a 
> straightforward way to build that as a feature.  I've done so in my polymer 
> app with some extra javascript, but it would be a nice addition to the 
> component.
>
> Another thing I'm looking for is a way to force a refresh of the image 
> (prevent loading it from the cache even when the src file location is the 
> same).  Anyone know if there is currently an easy way to do that with 
> core-image?
>
> Keep up the good work polymer team!
>
> Kelly
>
> On Monday, December 15, 2014 at 3:18:33 PM UTC-8, Charles Munat wrote:
>>
>> I've spent roughly eight hours trying to make core-image work. I'm not 
>> sure what the trick is, but the online documentation is no help at all.
>>
>> From what I've been able to determine, the image does not appear unless 
>> dimensions are included, but there is nothing about this in the API 
>> documentation. When dimensions are provided, they appear to override the 
>> sizing attribute, which makes one wonder what the point of the attribute is.
>>
>> I just want the image to be pinned to the left and to fit the box, with 
>> overflow cropped. And I want to layer text on top of it. I can get the 
>> text, but can't seem to position it at all. I'm pretty sure that I'm just 
>> missing some small thing, but apparently it was so small that the writers 
>> of the documentation didn't think it worth mentioning. Unless I missed 
>> something (very possible... brain is fried).
>>
>> Anyone know the trick to this? Example? The online docs are nothing but 
>> frustrating.
>>
>> TIA.
>>
>> Chas.
>>
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/93393460-826a-4eaa-a4e6-25b639b3e8f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to