Author Topic: Randomland's Drupal Module  (Read 2578 times)

Offline zourtney

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,206
    • View Profile
    • http://randomland.net/zourtney
    • Email
Re: Randomland's Drupal Module
« Reply #90 on: February 01, 2011, 11:00:27 am »
Sick? Man, youda illest! I mean, get well soon.

Offline zourtney

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,206
    • View Profile
    • http://randomland.net/zourtney
    • Email
Re: Randomland's Drupal Module
« Reply #91 on: February 01, 2011, 10:04:50 pm »
Ok, the test site issue has been resolved. It is now running the most recent version of the module. I've uploaded and tagged a few pictures. Yeah, the UI still sucks, but you can get the idea of how it works by clicking on the tags listed below the image.

For example:

Offline zourtney

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,206
    • View Profile
    • http://randomland.net/zourtney
    • Email
Re: Randomland's Drupal Module
« Reply #92 on: May 19, 2011, 08:49:06 am »
Just tossing out there that Nick has been working with the Views module and is getting many workings done. If it's feasible, I'll try to automate the creation of this in the module code. Or at least make an admin page.

We almost have a working image system, I think. Cool.

Offline zourtney

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,206
    • View Profile
    • http://randomland.net/zourtney
    • Email
Re: Randomland's Drupal Module
« Reply #93 on: August 17, 2011, 11:04:17 pm »
Apparently this isn't where I've been posting updates about the ol' Drupal image module, but I'll do it anyway. This forum loves fragmented, wandering, meandering, unfocused, .....what was I saying?

Oh yeah: http://drupal.org/node/1236474/commits
I just committed a super-crap implementation of the old rlimg module which passes off work to the Media module....expect the implementation to change significantly. But what does work is the tried-and-boring [rlimg 1] where 1 is now the media id.

All this to say: if you want to test super-duper basic rlimg syntax with Views, you can now. It'll use thumbnail size. And it isn't configurable...yet.

Easiest way to get it on the server:

  [admin@randomland drupal]cd sites/all/modules
  [admin@randomland modules]git clone --branch master randomnets@git.drupal.org:sandbox/randomnets/1236474.git rlimg
  [admin@randomland modules]cd rlimg
 


Then get future updates with:

  [admin@randomland rlimg]git pull

Offline Nick

  • HoboMobile
  • Administrator
  • Hero Member
  • *****
  • Posts: 1,922
  • Taking the edge off sanity.
    • View Profile
    • Randomland
Re: Randomland's Drupal Module
« Reply #94 on: August 18, 2011, 09:50:25 am »
Cool! I look forward to implementing this into the gallery!

Offline zourtney

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,206
    • View Profile
    • http://randomland.net/zourtney
    • Email
Randomland's Drupal Module
« Reply #95 on: August 18, 2011, 11:57:51 am »
I haven't quite figured out how it gets the image sizes. They might be hardcoded presets (they are not the names defined in Image Styles). Anyways, it's something. Any feature requests?

Offline Nick

  • HoboMobile
  • Administrator
  • Hero Member
  • *****
  • Posts: 1,922
  • Taking the edge off sanity.
    • View Profile
    • Randomland
Re: Randomland's Drupal Module
« Reply #96 on: August 18, 2011, 03:50:29 pm »
You don't just use print theme('image_style',$image); ?

What are you using for outputting images?

Offline zourtney

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,206
    • View Profile
    • http://randomland.net/zourtney
    • Email
Randomland's Drupal Module
« Reply #97 on: August 19, 2011, 08:18:37 am »
I have a suspicion (<-- why does that word look wrong) that I will revert to that. And drop the usage of Media Markup entirely. So long as I get the image path, using theme() is likely the better approach. And strikingly similar to the original implementation in rlcore.

Which brings me to another point from a conversation Nick and I had yesterday. The base image File type has no fields other than the image itself. We will need to add them. Adding them programmatically (in a module) seems like the "right" way to do this. Much of this was already done in the old rlcore code, just with Nodes instead of Files.

Should we break this up into a separate, dependent project? If so, what should we call it? It might be nice, at least for development...for issue tracking, anyway.
« Last Edit: August 19, 2011, 08:20:13 am by zourtney »

Offline Nick

  • HoboMobile
  • Administrator
  • Hero Member
  • *****
  • Posts: 1,922
  • Taking the edge off sanity.
    • View Profile
    • Randomland
Re: Randomland's Drupal Module
« Reply #98 on: August 19, 2011, 08:30:54 am »
Call the other one media-fields?

I vote making it all one module with the expressed intent to create a useable gallery and media categorization system from the media module. I guess it would be a competitor to the media-gallery. But hopefully a little more powerful.

But with that said, it would be nice to give people the option to have alternate fields used off of the media nodes. Giving them the option of naming them different or using a bunch of nodes that already exist.

A third thing is search. At the moment the taxonomy terms attached to media nodes do not show up under that taxonomy. So we will have to figure out what is missing from what and what needs hooked into. I know; that's vague.

Offline zourtney

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,206
    • View Profile
    • http://randomland.net/zourtney
    • Email
Randomland's Drupal Module
« Reply #99 on: August 19, 2011, 08:38:38 am »
Hmmm, grrrr, it appears that the downsized images are not being generated at the moment. Only the square thumbnail the Media modules uses (see Content -> Media tab).

Investigating...