Closed (fixed)
Project:
ImageField
Version:
6.x-3.7
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2010 at 14:51 UTC
Updated:
26 Jul 2012 at 18:07 UTC
Hi,
just a quick question.
How do I display imagefield's image size (kb) and dimensions (pixels) in View?
Thanks a lot.
Petiar.
Comments
Comment #1
quicksketchAdd a relationship for your image field (Content: Field name), then you can add all the File view fields like File: File size. Note that you must install FileField Meta (part of FileField module) if you want to pull out dimensions, since these are not normally stored in the database without it.
Comment #2
petiar commentedThanks mate!
Comment #3
MohammadMoussa-Lebanon commentedSorry i have the same problem but the situation here is that
i have an image in the cck 350px x 350px
i want to represent the same image in two pages across the views but n each page with different dimensions.please help me , i tried the relation but i did not see boxes to select the dimensions
Comment #4
quicksketch@che_viva: Your question is a different one from the one asked here. Please file a new issue.
Comment #5
MohammadMoussa-Lebanon commentedok thanks i got the solution , its sold from image cache i create the resizing needed then in the views i add contnet of type image and choosing from the list the name of the image cache i created before , thanks :D
Comment #6
Wolfgang Reszel commentedIs there a way for Drupal 7?
Comment #7
jwilson3For a D7 solution, refer to FileEntity module issue: #1365206: Views filter handler for image dimensions... fyi, it hasn't been built yet :-/